From:             [EMAIL PROTECTED]
Operating system: linux 2.4.16
PHP version:      4.1.1
PHP Bug Type:     cURL related
Bug description:  curl_errno() [still] reports strange numbers

curl_errno() returns strange wrong values (very large numbers.. negative
numbers etc..)

$ch = curl_init ("http://www.php.net";);
curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_HEADER, 0);
$page=curl_exec ($ch);
$errore=curl_errno($ch);
error_log (" curl_errno: $errore",0);
curl_close ($ch);

my configure options:
'./configure' '--enable-trans-sid' '--with-mm=/usr/local/src/mm-1.1.3'
'--with-mhash'                           
'--with-apxs=/var/lib/apache/sbin/apxs'
'--with-mysql' '--with-curl'

libcurl version is libcurl 7.9.2 
-- 
Edit bug report at: http://bugs.php.net/?id=15150&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to