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

curl-and-php

Re: CURL, POST an Cookies???

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sat, 22 Nov 2003 22:42:31 +0100 (CET)

On Fri, 21 Nov 2003, Alexei Zoubov wrote:

> curl_setopt($c,CURLOPT_COOKIE,'user=MUDAK');

[snip]

> Postfiels are posted OK, but the cookie is never set - tried many times in
> different enviroments.

The code looks perfectly fine, that's how it would be done using the plain C
interface anyway.

So how does the outgoing request look like? I mean, what's the exact headers
it sends?

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
 [[ Do not post private mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Received on 2003-11-22