Forum und email

curl_error

(PHP 4 >= 4.0.3, PHP 5)

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

설명

string curl_error ( resource $ch )

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

매개변수

ch

curl_init()가 반환한 cURL 핸들입니다.

반환값

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