curl-and-php
Re: Having trouble with COOKIE_JAR and COOKIE_FILE
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 19 Jan 2005 00:31:41 +0100 (CET)
Date: Wed, 19 Jan 2005 00:31:41 +0100 (CET)
On Tue, 18 Jan 2005, Josh Halstead wrote:
> $ch = curl_init();
> curl_setopt($ch, CURLOPT_COOKIEJAR, "$blitzCookie");
> curl_setopt($ch, CURLOPT_COOKIEFILE, "$blitzCookie");
> curl_exec($ch);
> curl_close($ch);
Doing only this initial POST, do you get a bunch (5) cookies in the cookiejar
file?
Also, I noticed that your LiveHTTPHeader log shows that when you do the
initial login POST, it already provides a number of cookies that your browser
obviously already knew about...
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2005-01-19