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

curl-and-php

Re: Getting and passing a cookie...

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 17 Feb 2003 13:52:41 +0100 (CET)

On Sun, 16 Feb 2003, Paperstuff.com wrote:

> We tried to get it to write to the specified file, but it wouldn't write to
> cookies.fil or cookies.txt or the same directory the PHP file was that we
> were using.

That sounds very odd. COOKIEJAR should create and write the file if it
recevied one or more cookies.

> Below is eBay's response-header:
>
> ------------------------------------
> Getting page...

> HTTP/1.1 100 Continue Server: Microsoft-IIS/4.0 Date: Mon, 17 Feb 2003
> 06:41:03 GMT HTTP/1.1 302 Object Moved Server: Microsoft-IIS/4.0 Date: Mon,
> 17 Feb 2003 06:41:03 GMT Connection: close Location:
> http://signin.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=SignInWelcome&siteid=0&co_partnerId=2&UsingSSL=0&ru=&pp=&pa1=&pa2=&pa3=&i1=-1&pageType=-1&userid=*********&pass=********&keepMeSignInOption=1
> HTTP/1.1 200 OK Server: Microsoft-IIS/4.0 Date: Mon, 17 Feb 2003 06:41:03
> GMT Connection: close Content-Type: text/html HTTP/1.1 200 OK Server:
> Microsoft-IIS/4.0 Date: Mon, 17 Feb 2003 06:41:07 GMT Connection: close
> Content-Type: text/html

But this doesn't include any cookies? What about showing us your first
request, the response-headers with the cookies sent back and then your second
request and its response (headers only is enough)?

> Thank you for any help you can offer or if you know anyone that will do
> this sort of thing for hire. If you are interested, let me know. Have a
> good night,

Unfortunately, I'm completely lost when it comes to PHP so while I could
possibly offer a solution in another language, I can't do much good with PHP.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-02-17