如果是https网站需要绕过sslcurl_setopt($c,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($c,CURLOPT_SSL_VERIFYHOST,false);