//curl_setopt($ci, CURLOPT_HEADER, true); /*启用时会将头文件的信息作为数据流输出*/
if (ini_get('open_basedir') == '' && ini_get('safe_mode' == 'Off')) {
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
}
thinkphp或TPshop的CURL出错的解决方法
最新推荐文章于 2023-02-28 10:45:59 发布