cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

get error_state

From: <levchenko.ks_at_nsk.vtb24.ru>
Date: Mon, 9 Feb 2009 14:29:03 +0300

Help, plz.
Which key to run curl, that he only returned an error code?
For example,
$error=`curl URL`;
<<HTTP/1.1 401 Unauthorized
<<WWW-Authenticate: Basic realm="HTTP Authentication"
<<Connection: close
print error;
<<401

,

5440 24 .

. 3-2519, (383)249-24-32

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-02-09

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET