Ben http sınıfını kullanıyorum ve o fonksiyonu setCookies diyor hattı üzerinde çerezleri kurma sıkışmış.
Bu benim kodudur
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;