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

curl-and-php

Re: Me again

From: Tig <tig_at_online.be>
Date: Wed, 18 Aug 2004 13:07:56 +0200

Thx mate,

That made the thing work. Is there a manual bout curl commandline to php-curl
convertion?

I was also wondering if it is possible to open another url on the same
connection, so he keep all the vars in memory?

See ya

Thierry

Daniel Stenberg <daniel-curl_at_haxx.se> wrote:

> On Wed, 18 Aug 2004, Tig wrote:
>
> > < Set-Cookie: koc_session=ab441508f335b42ea8cd77719b0b8285; path=/;
> > domain=www.kingsofchaos.com
> > < Expires: Thu, 19 Nov 1981 08:52:00 GMT
> > < Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
> > pre-check=0
> > < Pragma: no-cache
> > < Set-Cookie: security_hash=323466345345; expires=Fri, 17-Sep-2004
09:08:34
> > GMT; path=/; domain=.kingsofchaos.com
> > < Set-Cookie: cookie_hash=5b9d2062d63d2b57b49c6b4aaa61cdc0; path=/
>
> Look, you get several cookies from the server. Make sure you use them.
>
> I suggest you add "-b nonexistinfile -L" to the curl command line, so that
> curl will follow the Location: and will pass in the received cookies in the
> second request.
Received on 2004-08-18