我正在使用http类,它坚持在它所说的函数setcookies的行上设置cookie。http.php中的最大执行时间为30秒
这是我的代码
require_once ('../http.php');
$http=new http_class;
$http->user_agent="Mozilla/5.0 (Intel Mac OS X) Gecko/20070515 Firefox/2.0.0.4";
$error=$http->GetRequestArguments($url,$arguments);
foreach ($cookie as $c) {
$t = explode('=',$c);
$http->SetCookie($t[0],$t[1],"","/",".example.com"); //problem is here i think
}
$arguments["Headers"]["Referer"] = $referer;
问题是什么,标题与代码有什么关系? – Gordon 2010-06-25 09:49:06