Another reason for PHP to return http code 0 is timeout. In my case, I had the following configuration: curl_setopt($http, CURLOPT_TIMEOUT_MS,500);.
確定! 回上一頁