cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: site login problem with PHP + cURL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 23 Nov 2005 10:23:01 +0100 (CET)

On Tue, 22 Nov 2005, Nate Nielsen wrote:

> that is a great question, i have no idea :)
>
> as you can see the code is literally identical except a drive letter for the
> cookie file. so, i am totally confused why it is responding in that way as
> well. =S
>
> the working version is getting a LOT more data back in the verbose screen,
> including a much much larger cookie that gets set when the login is a
> success.

Well, the code obviously does a GET first so the 'working' verbose trace is
not complete.

Also, since the traces don't reveal how the cookies end up in the cookie jar
file, we can't see why/how the 'broken' one gets a much shorter cookie set.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2005-11-23