Manual do PHP
Anterior |  | Próxima

# curl_error

(PHP 4 >= 4.0.3)

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 on the resource `ch`, or `''` (the empty string) if no error occurred.

See also curl_errno().

Anterior | Principal | Próxima
curl_errno | Acima | curl_exec