http 클래스를 사용하고 있으며 함수 setcookies가 표시된 줄에 쿠키를 설정하는 데 어려움이 있습니다.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