<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.web.curl.php">
    <title>gmane.comp.web.curl.php</title>
    <link>http://blog.gmane.org/gmane.comp.web.curl.php</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3824"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3823"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3822"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3821"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3819"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3817"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3816"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3815"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3813"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3809"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3808"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3807"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3804"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3802"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3800"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3799"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3794"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3788"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3787"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.php/3786"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3824">
    <title>Case of gnutls_handshake() failed: A TLS warning alert has been received.</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3824</link>
    <description>&lt;pre&gt;I would appreciate any advice about this TLS warning situation:

I am calling a REST API via https with pretty standard parameters: https://api.social123.com/services/socialdata.php?rquest=searchcontactpoints&amp;amp;key=xxx&amp;amp;first_name=xxx&amp;amp;last_name=xxx&amp;amp;content_mention=NULL-NULL

Entering this URL in a browser (with an appropriate API key) yields the expected JSON result.  When I try this in PHP on our server, I get "gnutls_handshake() failed: A TLS warning alert has been received" from curl_error().  I've read online about this error message, but I can't figure out what's happening in this situation.

A verbose error trace yields:

* About to connect() to api.social123.com port 443 (#0)
*   Trying 198.199.79.238... * connected
* Connected to api.social123.com (198.199.79.238) port 443 (#0)
* found 141 certificates in /etc/ssl/certs/ca-certificates.crt
* gnutls_handshake() failed: A TLS warning alert has been received.
* Closing connection #0

From this code:

  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  curl_setopt($ch, CURLOPT_MAXREDIRS, 4000);
  curl_setopt($ch, CURLOPT_TIMEOUT, 30);
  curl_setopt($ch, CURLOPT_STDERR, fopen($path, 'w+'));
  curl_setopt($ch, CURLOPT_VERBOSE, 1);
  $json = curl_exec($ch);
  $errmsg = curl_error($ch);
  curl_close($ch);

(The high MAXREDIRS and TIMEOUT values were recommended by the social123 API provider; I don't think they matter to this problem.)

I cannot create or modify /etc/ssl/certs/ca-certificates.crt directly, but I can look at it, and indeed there are 141 certificates in that file.  Am I hitting a limit on the number of certificates that this cURL version will handle?  If that's not the issue ... how can I find out more about the reason for the TLS warning alert?

This is running on a server where I have limited control. 
phpinfo() shows:
libcurl/7.19.7 GnuTLS/2.8.5 zlib/1.2.3.3 libidn/1.15
PHP Version 5.2.17 on an Unbuntu OS

Thanks in advance.


_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

&lt;/pre&gt;</description>
    <dc:creator>Daniel Fylstra</dc:creator>
    <dc:date>2013-05-24T23:33:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3823">
    <title>CURL_OPENSSL_3 not found</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3823</link>
    <description>&lt;pre&gt;Guys,

I'm trying to complile curl (7.23.1 and 7.29.0) with ares and, after make
install, apache+php dies saying:

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20090626/curl.so' - /usr/local/lib/libcurl.so.4: version
`CURL_OPENSSL_3' not found (required by /usr/lib/php5/20090626/curl.so) in
Unknown on line 0

Here is what I'm doing to compile:

sudo make clean
sudo ./configure --with-ssl --enable-ares
sudo make
sudo make install

Any lights?

Thanks in advance,

AC
antoniocarlos&amp;lt; at &amp;gt;cys.com.br

(+55) 21-8088-2233 (celular TIM)
(+55) 21-9644-4722 (celular VIVO)
(+55) 21-2556-3164 (fixo residencial)

skype: antoniocarlosribeiro

_______________

*I must say I find television very educational. The minute somebody turns
it on, I go to the library and read a good book.** (**Devo dizer que acho
televisão muito educativo. Quando alguém a liga, vou à biblioteca e leio um
bom livro.)

(Groucho Marx)*
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Antonio Carlos Ribeiro</dc:creator>
    <dc:date>2013-04-03T16:58:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3822">
    <title>Fw:  message</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3822</link>
    <description>&lt;pre&gt;http://www.easyhomethai.com/btx/sl/sxls/buzx/iv/zyh/ai.aq
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Henry Steinberg</dc:creator>
    <dc:date>2013-03-10T18:54:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3821">
    <title>php script retrive url</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3821</link>
    <description>&lt;pre&gt;Hy. I need help to resolve this task. How dase tracking that doing php
script runing from cli uses cron. And if have no answer from server restart
script from url adge.
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Denis K</dc:creator>
    <dc:date>2013-03-05T15:27:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3819">
    <title>Weird cURL operation timed out error with HTTP POST</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3819</link>
    <description>&lt;pre&gt;cURL-Version: 7.18.2
PHP Version: 5.3.17 (Suhosin Patch 0.9.10)

I'm getting a weird timeout when trying to use cURL to post to a server. The http_code of curl_getinfo() is 0.
"Operation timed out after 5000 milliseconds with 0 bytes received"


It does not depend on whether using HTTP or HTTPS.
The weird thing is: when omitting the content-length header, it works fine!
On another server with PHP 5.3.3-7 and cURL 7.21.0, everything works fine.

I attach these two files. Maybe anybody can confirm this issue?
Or does anybody have an idea what I'm doing wrong?
Thanks in advance. Phil

curltest_data.php
&amp;lt;?php
header('Content-type: application/json');
?&amp;gt;
{"ABC":"DEF"}
end curltest_data.php

curltest.php
&amp;lt;?php
$server = ''; // INSERT FULL URL OF curltest_data.php

$curlHandle = curl_init();

$str = json_encode(array());
$len = mb_strlen($str);
$headers = array('Content-type: application/json', 'Content-length: ' . $len); // WHEN OMITTING THIS CONTENT-LENGHT HEADER, IT WORKS FINE

curl_setopt($curlHandle,CURLOPT_HTTPGET,FALSE); 
curl_setopt($curlHandle,CURLOPT_POST,TRUE); 
curl_setopt($curlHandle,CURLOPT_POSTFIELDS, $str);
curl_setopt($curlHandle,CURLOPT_HEADER,TRUE);
curl_setopt($curlHandle,CURLOPT_NOBODY,FALSE);
curl_setopt($curlHandle,CURLOPT_TIMEOUT,5);
curl_setopt($curlHandle,CURLOPT_USERAGENT,'CURL');
curl_setopt($curlHandle,CURLOPT_URL,$server);
curl_setopt($curlHandle,CURLOPT_VERBOSE,TRUE);
curl_setopt($curlHandle,CURLOPT_SSL_VERIFYPEER,0);
curl_setopt($curlHandle,CURLOPT_SSL_VERIFYHOST,0);
curl_setopt($curlHandle,CURLOPT_RETURNTRANSFER,TRUE);
curl_setopt($curlHandle,CURLOPT_HTTPHEADER,$headers);

$responseContentsStr= curl_exec($curlHandle);
$responseContentsArr= explode("\r\n\r\n", $responseContentsStr);
echo 'DATA: ' . $str;
echo '&amp;lt;br /&amp;gt;DATA LEN: ' . $len;
echo '&amp;lt;br /&amp;gt;HEADERS: ';
print_r($headers);
echo '&amp;lt;br /&amp;gt;ERROR: ' . curl_error($curlHandle);
echo '&amp;lt;br /&amp;gt;';

$tmp = curl_getinfo($curlHandle);
print_r($tmp);
curl_close($curlHandle);

echo '&amp;lt;br /&amp;gt;RESPONSE:&amp;lt;br /&amp;gt;';

print_r($responseContentsArr);

phpinfo();
?&amp;gt;
end curltest.php

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

&lt;/pre&gt;</description>
    <dc:creator>Phil</dc:creator>
    <dc:date>2013-02-19T14:04:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3817">
    <title>replace code curl to libcurl</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3817</link>
    <description>&lt;pre&gt;How to replace this command 

&amp;lt;curl --user abc:password --digest \http://172.1.1.1/KbrInterface/system/Main.aspx?Method=List &amp;gt;

code on  perl or php with libcurl?

 

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Левченко Кирилл Сергеевич</dc:creator>
    <dc:date>2013-02-18T07:24:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3816">
    <title>(unknown)</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3816</link>
    <description>&lt;pre&gt;http://www.mouscaillo.com/hmrd/v5n02mj7.9awwd?lr_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>hostinvest&lt; at &gt;yahoo.ca</dc:creator>
    <dc:date>2013-02-17T17:20:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3815">
    <title>migrate from curl to libcurl</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3815</link>
    <description>&lt;pre&gt;Now use curl

curl --user abc:password --digest \"http://172.1.1.1/KbrInterface/system/Main.aspx?Method=List"

How to replace this command code on  perl or php with libcurl?

 

С уважением, 

руководитель группы

системного администрирования и телекоммуникаций

Филиала №5440 ВТБ24 

Левченко Кирилл Сергеевич

т. (383)325-23-10, 3-2750

 

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Левченко Кирилл Сергеевич</dc:creator>
    <dc:date>2013-02-14T12:47:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3813">
    <title>CA Bundle issues</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3813</link>
    <description>&lt;pre&gt;Hi guys,



I am connecting to paypal using curl and am getting the below error message:



Got error setting certificate verify locations:

  CAfile: D:\inetpub\wwwroot\WSITportal\cacert.crt

  CApath: none

when processing IPN data

I have given full control to everyone and it is still giving me this error message, and the file does exists at that path specified so im not too sure what else could be the problem,  any ideas on what else could be causing the issue?

Regards,

Chris Campbell






Email:

chrisc&amp;lt; at &amp;gt;winningwa.com.au&amp;lt;mailto:chrisc&amp;lt; at &amp;gt;winningwa.com.au&amp;gt;





[cid:image001.jpg&amp;lt; at &amp;gt;01CE09D5.F852E7F0]





This email is confidential. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this email in error, please notify us immediately by return email and delete the email and any attachments. Any personal views or opinions expressed by the writer may not necessarily reflect the views or opinions of Winning Solutions IT Services.


_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Chris Campbell</dc:creator>
    <dc:date>2013-02-13T02:36:25</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3809">
    <title>Q: about the server ip</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3809</link>
    <description>&lt;pre&gt;how can i get the remote server ip address??
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>seven</dc:creator>
    <dc:date>2012-12-27T05:04:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3808">
    <title>curl and ssl</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3808</link>
    <description>&lt;pre&gt;Hi everyone,

I want to connect a API from https protocol. But the error is Unknown SSL
protocol error in connection to emea.copy-webservices.travelport.com:443

The code is :
$TARGETBRANCH = 'xxx';
$CREDENTIALS = 'Universal API/uAPI-774137105:emfdjHsZAjAjTffhhKCS3R6HP';
$message = &amp;lt;&amp;lt;&amp;lt;EOM
&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:air="http://www.travelport.com/schema/air_v16_0"
xmlns:com="http://www.travelport.com/schema/common_v13_0" &amp;gt;
&amp;lt;soapenv:Header/&amp;gt;
   &amp;lt;soapenv:Body&amp;gt;
&amp;lt;air:AvailabilitySearchReq xmlns:air="
http://www.travelport.com/schema/air_v16_0"
xmlns:com="http://www.travelport.com/schema/common_v13_0"
AuthorizedBy="Test" TargetBranch="$TARGETBRANCH"&amp;gt;
&amp;lt;air:SearchAirLeg&amp;gt;
&amp;lt;air:SearchOrigin&amp;gt;
                &amp;lt;com:Airport Code="LHR" /&amp;gt;
&amp;lt;/air:SearchOrigin&amp;gt;
&amp;lt;air:SearchDestination&amp;gt;
                &amp;lt;com:Airport Code="JFK" /&amp;gt;
&amp;lt;/air:SearchDestination&amp;gt;
&amp;lt;air:SearchDepTime PreferredTime="2011-11-08" /&amp;gt;
&amp;lt;/air:SearchAirLeg&amp;gt;
&amp;lt;/air:AvailabilitySearchReq&amp;gt;
&amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;
EOM;
$auth = base64_encode("$CREDENTIALS");
$soap_do = curl_init ("
https://emea.copy-webservices.travelport.com/B2BGateway/connect/uAPI/Service
");
$header = array(
    "Content-Type: text/xml;charset=UTF-8",    "Accept: gzip,deflate",
"Cache-Control: no-cache",
    "Pragma: no-cache",
    "SOAPAction: \"\"",
    "Authorization: Basic $auth",
"Content-length: ".strlen($message),
);
curl_setopt($soap_do, CURLOPT_CONNECTTIMEOUT, 300);
curl_setopt($soap_do, CURLOPT_TIMEOUT,        300);
curl_setopt($soap_do, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($soap_do, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($soap_do, CURLOPT_POST, true );
curl_setopt($soap_do, CURLOPT_POSTFIELDS,     $message);
curl_setopt($soap_do, CURLOPT_HTTPHEADER,    $header);
echo curl_exec($soap_do);
echo curl_error($soap_do);



Thank You.
&lt;/pre&gt;</description>
    <dc:creator>Onur NEŞVAT</dc:creator>
    <dc:date>2012-12-19T13:42:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3807">
    <title>Where is STDOUT?</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3807</link>
    <description>&lt;pre&gt;I am having hard drive over-use issues and my script outputs to the
browser.

One of my partitions is not used, can I set STDOUT to write the temp data
there instead?

How would I do that?
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Jake</dc:creator>
    <dc:date>2012-09-09T16:10:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3804">
    <title>Curl and recurring timeouts</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3804</link>
    <description>&lt;pre&gt;Hi,

When I fetch data from google webpage for instance, I always get a lot of
timeouts. How often is difficult to say, sometimes for some period out of 5
requests I have one timeout, sometimes out of about 20, it varies a lot ...

*[http://www.google.be] 2012-09-01 14:49:26 =&amp;gt; Curl error: Operation timed
out after 10000 milliseconds with 0 bytes received (28)*

I have a stable connection, if I use a browser like chrome and press 50
times on the refresh button, google webpage will never load more than 10
seconds.

How can that be explained? What might be the cause of all these timeouts?
How is cUrl different than an access from a browser?

PS, these are the options for cUrl:
*$options = array(*
* CURLOPT_FRESH_CONNECT =&amp;gt; true,*
* CURLOPT_CONNECTTIMEOUT =&amp;gt; 10,*
* CURLOPT_TIMEOUT =&amp;gt; 10,*
* CURLOPT_RETURNTRANSFER =&amp;gt; true,*
* CURLOPT_USERAGENT =&amp;gt;*
* 'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.10) Gecko/20100914
Firefox/3.6.10'*
*);*
*
*
*
*
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Thomas Thomas</dc:creator>
    <dc:date>2012-09-01T13:00:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3802">
    <title>pecl_http compile error</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3802</link>
    <description>&lt;pre&gt;Hello List,

i am trying to build pecl_http with "pecl install pecl_http" but i get
this error: /usr/local/include/curl/curl.h:2070: error: expected
identifier or ‘(’ before string constant

Line 2070 is: CURL_EXTERN const char *curl_share_strerror(CURLSHcode);

Below is the full Log. I am on Debian 6 (upgraded from Debian 5 and
removed the old libs). With php 5.2.17.


/usr/local/php-cli/bin/pecl install pecl_http
downloading pecl_http-1.7.4.tgz ...
Starting to download pecl_http-1.7.4.tgz (174,503 bytes)
.....................................done: 174,503 bytes
71 source files, building
WARNING: php_bin /usr/local/php-5.2.17-cli/bin/php appears to have a
suffix -5.2.17-cli/bin/php, but config variable php_suffix does not
match
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
whether to enable cURL HTTP requests; specify libcurl directory [yes] :
whether to enable support for gzencoded/deflated message bodies;
specify zlib directory [yes] :
whether to enable response content type guessing; specify libmagic
directory [no] :
whether to depend on extensions which have been built shared [yes] :
building in /tmp/pear/temp/pear-build-rootBuWBRM/pecl_http-1.7.4
running: /tmp/pear/temp/pecl_http/configure --with-http-curl-requests
--with-http-zlib-compression --with-http-magic-mime=no
--with-http-shared-deps
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local/php-5.2.17-cli
checking for PHP includes... -I/usr/local/php-5.2.17-cli/include/php
-I/usr/local/php-5.2.17-cli/include/php/main
-I/usr/local/php-5.2.17-cli/include/php/TSRM
-I/usr/local/php-5.2.17-cli/include/php/Zend
-I/usr/local/php-5.2.17-cli/include/php/ext
-I/usr/local/php-5.2.17-cli/include/php/ext/date/lib
checking for PHP extension directory...
/usr/local/php-5.2.17-cli/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix...
/usr/local/php-5.2.17-cli/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to
regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable extended HTTP support... yes, shared
checking whether to depend on extensions which have been built shared... yes
checking whether to enable cURL HTTP request support... yes
checking whether to enable libevent support fur cURL... yes
checking whether to enable zlib encodings support... yes
checking whether to enable response content type guessing... no
checking for egrep... (cached) /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for unistd.h... (cached) yes
checking for gethostname... yes
checking for getdomainname... yes
checking for getservbyport... yes
checking for getservbyname... yes
checking for zlib.h... found in /usr
checking for zlib version &amp;gt;= 1.2.0.4... 1.2.3.4
checking for curl/curl.h... found in /usr/local
checking for curl-config... found: /usr/local/curl-7.21.0/bin/curl-config
checking for curl version &amp;gt;= 7.12.3... 7.21.0
checking for SSL support in libcurl... yes
checking for openssl support in libcurl... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking for gnutls support in libcurl... no
checking for bundled SSL CA info... /etc/ssl/certs/ca-certificates.crt
checking for curl_share_strerror in -lcurl... no
checking for curl_multi_strerror in -lcurl... no
checking for curl_easy_strerror in -lcurl... no
checking for curl_easy_reset in -lcurl... no
checking for curl_formget in -lcurl... no
checking for curl_multi_setopt in -lcurl... no
checking for curl_multi_timeout in -lcurl... no
checking for ext/event support... no
checking for event.h... found in /usr
checking for libevent version, roughly... 1.4 or greater
checking for libcurl version &amp;gt;= 7.16.0... 7.21.0
checking for curl_multi_socket_action in -lcurl... no
checking for ext/hash support... yes
checking for php_hash.h... /usr/local/php-5.2.17-cli/include/php/ext/hash
checking for ext/iconv support... yes
checking for ext/session support... yes
checking whether to add a dependency on ext/hash... yes
checking whether to add a dependency on ext/iconv... yes
checking whether to add a dependency on ext/session... yes
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/bash /tmp/pear/temp/pear-build-rootBuWBRM/pecl_http-1.7.4/libtool
--mode=compile cc  -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC
-I/tmp/pear/temp/pear-build-rootBuWBRM/pecl_http-1.7.4/include
-I/tmp/pear/temp/pear-build-rootBuWBRM/pecl_http-1.7.4/main
-I/tmp/pear/temp/pecl_http -I/usr/local/php-5.2.17-cli/include/php
-I/usr/local/php-5.2.17-cli/include/php/main
-I/usr/local/php-5.2.17-cli/include/php/TSRM
-I/usr/local/php-5.2.17-cli/include/php/Zend
-I/usr/local/php-5.2.17-cli/include/php/ext
-I/usr/local/php-5.2.17-cli/include/php/ext/date/lib
-I/usr/local/include -I/usr/local/php-5.2.17-cli/include/php/ext/hash
-DHAVE_CONFIG_H  -march=nocona -O2 -pipe   -c
/tmp/pear/temp/pecl_http/missing.c -o missing.lo
mkdir .libs
 cc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC
-I/tmp/pear/temp/pear-build-rootBuWBRM/pecl_http-1.7.4/include
-I/tmp/pear/temp/pear-build-rootBuWBRM/pecl_http-1.7.4/main
-I/tmp/pear/temp/pecl_http -I/usr/local/php-5.2.17-cli/include/php
-I/usr/local/php-5.2.17-cli/include/php/main
-I/usr/local/php-5.2.17-cli/include/php/TSRM
-I/usr/local/php-5.2.17-cli/include/php/Zend
-I/usr/local/php-5.2.17-cli/include/php/ext
-I/usr/local/php-5.2.17-cli/include/php/ext/date/lib
-I/usr/local/include -I/usr/local/php-5.2.17-cli/include/php/ext/hash
-DHAVE_CONFIG_H -march=nocona -O2 -pipe -c
/tmp/pear/temp/pecl_http/missing.c  -fPIC -DPIC -o .libs/missing.o
/bin/bash /tmp/pear/temp/pear-build-rootBuWBRM/pecl_http-1.7.4/libtool
--mode=compile cc  -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC
-I/tmp/pear/temp/pear-build-rootBuWBRM/pecl_http-1.7.4/include
-I/tmp/pear/temp/pear-build-rootBuWBRM/pecl_http-1.7.4/main
-I/tmp/pear/temp/pecl_http -I/usr/local/php-5.2.17-cli/include/php
-I/usr/local/php-5.2.17-cli/include/php/main
-I/usr/local/php-5.2.17-cli/include/php/TSRM
-I/usr/local/php-5.2.17-cli/include/php/Zend
-I/usr/local/php-5.2.17-cli/include/php/ext
-I/usr/local/php-5.2.17-cli/include/php/ext/date/lib
-I/usr/local/include -I/usr/local/php-5.2.17-cli/include/php/ext/hash
-DHAVE_CONFIG_H  -march=nocona -O2 -pipe   -c
/tmp/pear/temp/pecl_http/http.c -o http.lo
 cc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC
-I/tmp/pear/temp/pear-build-rootBuWBRM/pecl_http-1.7.4/include
-I/tmp/pear/temp/pear-build-rootBuWBRM/pecl_http-1.7.4/main
-I/tmp/pear/temp/pecl_http -I/usr/local/php-5.2.17-cli/include/php
-I/usr/local/php-5.2.17-cli/include/php/main
-I/usr/local/php-5.2.17-cli/include/php/TSRM
-I/usr/local/php-5.2.17-cli/include/php/Zend
-I/usr/local/php-5.2.17-cli/include/php/ext
-I/usr/local/php-5.2.17-cli/include/php/ext/date/lib
-I/usr/local/include -I/usr/local/php-5.2.17-cli/include/php/ext/hash
-DHAVE_CONFIG_H -march=nocona -O2 -pipe -c
/tmp/pear/temp/pecl_http/http.c  -fPIC -DPIC -o .libs/http.o
In file included from /tmp/pear/temp/pecl_http/php_http.h:58,
                 from /tmp/pear/temp/pecl_http/http.c:20:
/usr/local/include/curl/curl.h:2070: error: expected identifier or ‘(’
before string constant
make: *** [http.lo] Error 1
ERROR: `make' failed


Any idea what the problem is?

Thanks,
Mario

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

&lt;/pre&gt;</description>
    <dc:creator>ml ml</dc:creator>
    <dc:date>2012-08-30T08:46:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3800">
    <title>Server reacting to CURLOPT_NOBODY.</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3800</link>
    <description>&lt;pre&gt;So here we are post-requesting from
http://www.fileflyer.com/view/G67S0KEVQQKFp

Here is the code:

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.fileflyer.com/view/G67S0KEVQQKFp
");
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-type:
application/x-www-form-urlencoded"));
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data); // valid from form1 at the url
above.
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:8.0.1)
Gecko/20100101 Firefox/8.0.1");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);
if($_POST['showbody'] == 0){

curl_setopt($ch, CURLOPT_NOBODY, 1);

}
curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie.txt" ); // writable
curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.txt" );
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Expect:' ) ); // put in place
to prevent 100-continue forced header.
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
$c = curl_exec($ch);
if($_POST['showbody'] == 0){

echo "&amp;lt;h1&amp;gt;Response&amp;lt;/h1&amp;gt;";

echo $c;

}else{

echo "&amp;lt;h1&amp;gt;Response&amp;lt;/h1&amp;gt;";

echo curl_exec($c);

file_put_contents("view.html",$c);

echo "&amp;lt;a href='view.html' target=_new&amp;gt;View&amp;lt;/a&amp;gt;";

}
curl_close($ch);


So, looking that this code, one outcome shows only the headers on the
screen, and the other writes the full response including body into a file
called view.html.

However, it only writes the response header, and even that is totally
different to just requesting a header.

*Check it out with nobody enabled (Works fine):*

*Response

HTTP/1.1 200 OK Cache-Control: private Content-Length: 40446 Content-Type:
text/html; charset=utf-8 Server: Microsoft-IIS/7.5 X-AspNet-Version:
2.0.50727 X-Powered-By: ASP.NET Date: Fri, 24 Aug 2012 17:28:52 GMT

Request

**POST /view/G67S0KEVQQKFp HTTP/1.1 User-Agent: Mozilla/5.0 (Windows NT
6.1; rv:8.0.1) Gecko/20100101 Firefox/8.0.1 Host: www.fileflyer.com Accept:
*/* Cookie: WebID=0634d0db-ceaf-4da8-854f-d028125a0d48; MID=239986038;
ASP.NET_SessionId=bjvvfqm3vze2qlzwvxqi4bnp Content-Length: 8258
Content-Type: application/x-www-form-urlencoded*

*And with nobody disabled:*
*Response**HTTP/1.1 200 OK Cache-Control: private Content-Length: 0 Server:
Microsoft-IIS/7.5 X-AspNet-Version: 2.0.50727 X-Powered-By: ASP.NET Date:
Fri, 24 Aug 2012 17:33:02 GMT*
*Request**POST /view/G67S0KEVQQKFp HTTP/1.1 User-Agent: Mozilla/5.0
(Windows NT 6.1; rv:8.0.1) Gecko/20100101 Firefox/8.0.1 Host:
www.fileflyer.com Accept: */* Cookie:
WebID=0634d0db-ceaf-4da8-854f-d028125a0d48; MID=239986038;
ASP.NET_SessionId=bjvvfqm3vze2qlzwvxqi4bnp Content-Length: 8258
Content-Type: application/x-www-form-urlencoded*
*
*
*
*
I notice the server is also acting strange on other pages, one returning a
404 instead of a file.

Can anyone explain why the server is somehow reacting to the differences in
my curl configuration?
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Jake Cattrall</dc:creator>
    <dc:date>2012-08-24T18:51:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3799">
    <title>curl issue on my new server</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3799</link>
    <description>&lt;pre&gt;Hello Support,

we purchase a new server with centos and plesk i move my sites on that new
server.
on my 1st site curl is working fine
but in my other domain i have getting an following error

Curl error: Failed to connect to 74.125.132.94: Permission denied7

Server is same but the same script works on my 1st domain which hosted on
that server.
Please giide

&lt;/pre&gt;</description>
    <dc:creator>Rohit Deshmukh</dc:creator>
    <dc:date>2012-08-21T18:31:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3794">
    <title>If statements inside PHP Curl Writefunction</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3794</link>
    <description>&lt;pre&gt;In my function here I am trying to perform functions when files are
downloaded past certain milestones. So in this instance I want to download
10mb, then echo milestone, then repeat again to the next 10mb.

The file I'm downloading is about 300mb, so I'd expect the function to be
called 30 times.

What does milestone need to be? bytes? kilobytes? Whatever it is, if I go
beyond about 10000, it no longer calls anything inside that if.

curl_setopt($ch, CURLOPT_WRITEFUNCTION, function($ch, $chunk) {
$chunksize = strlen($chunk);
$downloaded .= $chunksize;
if($downloaded &amp;gt; $milestone){
    echo "milestone";
    $downloaded = 0;
}
return $chunksize;
});
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Jake Cattrall</dc:creator>
    <dc:date>2012-08-05T18:43:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3788">
    <title>redirect don't work ? </title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3788</link>
    <description>&lt;pre&gt;


С уважением, Роман Ковальский Hi! I am from Ukraine :) 

So I have this code and a question: 

// CODE ---------------------------------------------------------------
 $login_value = $_GET["login_value"];
 $password_value = $_GET["password_value"];


 $postdata = array(
 'login[email]' =&amp;gt; $login_value,
 'login[password]' =&amp;gt; $password_value
 );

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "http://slando.ua/account/?ref%5B0%5D%5Baction%5D=user&amp;amp;ref%5B0%5D%5Bmethod%5D=index");

curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1");

 $headers = array
 (
 'Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, * /*;q=0.1',
 'Accept-Language: ru-RU,ru;q=0.9,en;q=0.8',
 'Accept-Encoding: deflate',
 'Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7',
 'Expect:'
 );

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

curl_setopt($ch, CURLOPT_ENCODING, "");

 curl_setopt($ch, CURLOPT_REFERER, "http://slando.ua/account/?ref%5B0%5D%5Baction%5D=user&amp;amp;ref%5B0%5D%5Bmethod%5D=index");

$cookie_file_path = create_tmp_cookie($user_prm["sp_login"], "libcurl");
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path);
 curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file_path);

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

curl_setopt($ch, CURLOPT_POST, 1);

curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

$out = curl_exec($ch);

 echo "\n\ncURL error number:" . curl_errno($ch) . " &amp;lt;br/&amp;gt;";
 echo "\n\ncURL error:" . curl_error($ch) . " &amp;lt;br/&amp;gt;";
 print_r(curl_getinfo($ch));

when i do this at my local (home) webserver - all ok! 
i get this: 

// LOCAL RESULT -----------------------------------------------
cURL error number:0 &amp;lt;br/&amp;gt;

cURL error: &amp;lt;br/&amp;gt;Array
(
 [url] =&amp;gt; http://slando.ua/my/
 [content_type] =&amp;gt; text/html
 [http_code] =&amp;gt; 200
 [header_size] =&amp;gt; 748
 [request_size] =&amp;gt; 1352
 [filetime] =&amp;gt; -1
 [ssl_verify_result] =&amp;gt; 0
 [redirect_count] =&amp;gt; 1
 [total_time] =&amp;gt; 0.312
 [namelookup_time] =&amp;gt; 0
 [connect_time] =&amp;gt; 0
 [pretransfer_time] =&amp;gt; 0
 [size_upload] =&amp;gt; 274
 [size_download] =&amp;gt; 29996
 [speed_download] =&amp;gt; 96141
 [speed_upload] =&amp;gt; 878
 [download_content_length] =&amp;gt; 0
 [upload_content_length] =&amp;gt; 0
 [starttransfer_time] =&amp;gt; 0.125
 [redirect_time] =&amp;gt; 0.078
 [certinfo] =&amp;gt; Array
 (
 )

)
//---------------------------------------------------------
 but if i use same code at the hosting - redirect don't work! 
// HOSTING RESULT ---------------------------------------

cURL error number:0 &amp;lt;br/&amp;gt;

cURL error: &amp;lt;br/&amp;gt;Array
(
 [url] =&amp;gt; http://slando.ua/account/?ref%5B0%5D%5Baction%5D=user&amp;amp;ref%5B0%5D%5Bmethod%5D=index
 [content_type] =&amp;gt; text/html
 [http_code] =&amp;gt; 301
 [header_size] =&amp;gt; 326
 [request_size] =&amp;gt; 685
 [filetime] =&amp;gt; -1
 [ssl_verify_result] =&amp;gt; 0
 [redirect_count] =&amp;gt; 0
 [total_time] =&amp;gt; 0.226617
 [namelookup_time] =&amp;gt; 1.5E-5
 [connect_time] =&amp;gt; 0.03563
 [pretransfer_time] =&amp;gt; 0.035677
 [size_upload] =&amp;gt; 274
 [size_download] =&amp;gt; 0
 [speed_download] =&amp;gt; 0
 [speed_upload] =&amp;gt; 1209
 [download_content_length] =&amp;gt; 0
 [upload_content_length] =&amp;gt; 274
 [starttransfer_time] =&amp;gt; 0.035679
 [redirect_time] =&amp;gt; 0
)

what is the problem ? 
Thank you for help! 
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Роман Ковальский</dc:creator>
    <dc:date>2012-05-25T20:25:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3787">
    <title>redirect don't work</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3787</link>
    <description>&lt;pre&gt;
 Hi!  I am from Ukraine :) 

So I have this code and a question: 

// CODE ---------------------------------------------------------------
 $login_value = $_GET["login_value"];
 $password_value = $_GET["password_value"];


 $postdata = array(
   'login[email]' =&amp;gt; $login_value,
   'login[password]' =&amp;gt; $password_value
   );

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "http://slando.ua/account/?ref%5B0%5D%5Baction%5D=user&amp;amp;ref%5B0%5D%5Bmethod%5D=index");

curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1");

 $headers = array
 (
 'Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, * /*;q=0.1',
 'Accept-Language: ru-RU,ru;q=0.9,en;q=0.8',
 'Accept-Encoding: deflate',
 'Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7',
 'Expect:'
 );

curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

curl_setopt($ch, CURLOPT_ENCODING, "");

 curl_setopt($ch, CURLOPT_REFERER, "http://slando.ua/account/?ref%5B0%5D%5Baction%5D=user&amp;amp;ref%5B0%5D%5Bmethod%5D=index");

$cookie_file_path = create_tmp_cookie($user_prm["sp_login"], "libcurl");
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path);
 curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file_path);

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

curl_setopt($ch, CURLOPT_POST, 1);

curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

$out = curl_exec($ch);

 echo "\n\ncURL error number:" . curl_errno($ch) . " &amp;lt;br/&amp;gt;";
 echo "\n\ncURL error:" . curl_error($ch) . " &amp;lt;br/&amp;gt;";
 print_r(curl_getinfo($ch));

when i do this at my local (home) webserver - all ok! 
i get this: 

//  LOCAL RESULT -----------------------------------------------
cURL error number:0 &amp;lt;br/&amp;gt;

cURL error: &amp;lt;br/&amp;gt;Array
(
 [url] =&amp;gt; http://slando.ua/my/
 [content_type] =&amp;gt; text/html
 [http_code] =&amp;gt; 200
 [header_size] =&amp;gt; 748
 [request_size] =&amp;gt; 1352
 [filetime] =&amp;gt; -1
 [ssl_verify_result] =&amp;gt; 0
 [redirect_count] =&amp;gt; 1
 [total_time] =&amp;gt; 0.312
 [namelookup_time] =&amp;gt; 0
 [connect_time] =&amp;gt; 0
 [pretransfer_time] =&amp;gt; 0
 [size_upload] =&amp;gt; 274
 [size_download] =&amp;gt; 29996
 [speed_download] =&amp;gt; 96141
 [speed_upload] =&amp;gt; 878
 [download_content_length] =&amp;gt; 0
 [upload_content_length] =&amp;gt; 0
 [starttransfer_time] =&amp;gt; 0.125
 [redirect_time] =&amp;gt; 0.078
 [certinfo] =&amp;gt; Array
 (
 )

)
//---------------------------------------------------------
 but if i use same code at the hosting - redirect don't work! 
// HOSTING RESULT ---------------------------------------

cURL error number:0 &amp;lt;br/&amp;gt;

cURL error: &amp;lt;br/&amp;gt;Array
(
 [url] =&amp;gt; http://slando.ua/account/?ref%5B0%5D%5Baction%5D=user&amp;amp;ref%5B0%5D%5Bmethod%5D=index
 [content_type] =&amp;gt; text/html
 [http_code] =&amp;gt; 301
 [header_size] =&amp;gt; 326
 [request_size] =&amp;gt; 685
 [filetime] =&amp;gt; -1
 [ssl_verify_result] =&amp;gt; 0
 [redirect_count] =&amp;gt; 0
 [total_time] =&amp;gt; 0.226617
 [namelookup_time] =&amp;gt; 1.5E-5
 [connect_time] =&amp;gt; 0.03563
 [pretransfer_time] =&amp;gt; 0.035677
 [size_upload] =&amp;gt; 274
 [size_download] =&amp;gt; 0
 [speed_download] =&amp;gt; 0
 [speed_upload] =&amp;gt; 1209
 [download_content_length] =&amp;gt; 0
 [upload_content_length] =&amp;gt; 274
 [starttransfer_time] =&amp;gt; 0.035679
 [redirect_time] =&amp;gt; 0
)

what is the problem ? 
Thank you for help! 


_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Роман Ковальский</dc:creator>
    <dc:date>2012-05-25T09:48:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3786">
    <title>How to post base64 variable like file ?</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3786</link>
    <description>&lt;pre&gt;


 //I get pictures from database in base64 format: 

 $ready_img = 'data:image/jpg;base64,' . $val["image"];

//Then I try to post it to server:

//multipart
$postdata = array(
"data[title]=' . $obj['sp_header'] . ",
"data[category_id]=' . '1147' . ",
"image[1]=' . $ready_img . ";type=image/jpeg;filename=test.jpg ");


$cmd_line = ("h:/curl/bin/curl.exe " . implode(" ", $proxy_data) . " " . implode(" ", $start_data) . " " . implode(" ", $headers_data) . " -F " . implode(" -F ", $postdata) . " " . implode(" ", $cookie_data) . " " .$url_data);

//execute curl 
$out = shell_exec($cmd_line);

//But this variant don't work ... 
//Please help me 

// P.S. save image to file and then post it to server in this case can not be

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
&lt;/pre&gt;</description>
    <dc:creator>Роман Ковальский</dc:creator>
    <dc:date>2012-05-13T14:46:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.php/3784">
    <title>libcurl multi same domain patch for thread safety somewhere near  7.20.x release</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.php/3784</link>
    <description>&lt;pre&gt;I think I am facing this issue on a GoDaddy site
(I know, the client picked):
http://curl.haxx.se/mail/lib-2009-04/0028.html

This makes me think it was fixed in 7.20.x
https://bugs.php.net/bug.php?id=47773

I see entries about thread safety in both 7.20.0 and 7.20.1:
7.20.0
multi interface with OpenSSL read already freed memory when closing down

7.20.1
threaded resolver double free when closing curl handle

Does anybody know which of those matches my issue here:
https://bugs.php.net/bug.php?id=61947
(There is a backtrace fo the libcurl part.  Mostly luck, honestly)

I certainly appreciate any help here, especially because I'm pretty
sure it's going to come from an incredibly busy expert at libcurl...

Knowing GoDaddy, if they'll upgrade at all, they'll decide 7.20.0 is
"far enough" and, with my luck, I need 7.20.1 or something...

&lt;/pre&gt;</description>
    <dc:creator>Richard Lynch</dc:creator>
    <dc:date>2012-05-07T16:56:56</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.web.curl.php">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.web.curl.php</link>
  </textinput>
</rdf:RDF>
