CURL
PHP Manual

curl_error

(PHP 4 >= 4.0.3, PHP 5)

curl_error — Return a string containing the last error for the current session

Description

string curl_error ( resource $ch )

Returns a clear text error message for the last cURL operation.

Parameters

ch

A cURL handle returned by curl_init().

Return Values

Returns the error number or '' (the empty string) if no error occurred.

See Also


CURL
PHP Manual

copyright  ©  January 09 2009 sean dreilinger url: http://durak.org/sean/pubs/software/php/function.curl-error.html