php用curl时,HTTP链接正常,HTTPS时,获取不到数据答:https 需要认证。简易方法 (不认证,不安全)curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);安全方法(认证,安全):用firefox查出网站的CA certificate,下戴, 然后 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);curl_setopt($ch, CURLOP...