3 您可以在curl_exec後調用curl_error或curl_errno。 http://www.php.net/manual/en/function.curl-error.php 來源 2012-04-17 21:50:54