摘要:
function curl_redir_exec($ch,$debug="") { static $curl_loops = 0; static $curl_max_loops = 20; if ($curl_loops++ >= $curl_max_loops) {... 阅读全文
posted @ 2014-09-14 02:20
嘎子哥~
阅读(1739)
评论(0)
推荐(0)
摘要:
当系统开启safe_mode和 open_basedir,在程序中使用以下语句curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);并且遇到301,302状态吗时会出现错误[11-Oct-2010 14:17:41] PHP Warning: curl_set... 阅读全文
posted @ 2014-09-14 02:19
嘎子哥~
阅读(1130)
评论(0)
推荐(0)