<?php
$curl_errors = array();
$curl_errors[0] = "CURL_OK";
$curl_errors[1] = "CURL_UNSUPPORTED_PROTOCOL";
$curl_errors[2] = "CURL_FAILED_INIT";
$curl_errors[3] = "CURL_URL_MALFORMAT";
$curl_errors[4] = "CURL_URL_MALFORMAT_USER";
$curl_errors[5] = "CURL_COULDNT_RESOLVE_PROXY";
$curl_errors[6] = "CURL_COULDNT_RESOLVE_HOST";
$curl_errors[7] = "CURL_COULDNT_CONNECT";
$curl_errors[8] = "CURL_FTP_WEIRD_SERVER_REPLY";
?>
cURL error codes PHP array
Comments On This Entry
Great atrclie, thank you again for writing.
Armena @ 09:08:48 AM, Sunday, October 23, 2011