You can test it with your local server.
Make script.php with only phpinfo() function and get this script via
URL and you can see all headers
Отправлено с iPhone
14.09.2009, в 0:12, [email protected] написал(а):
>> header("Set-Cookie: name=value");
>
> I've tried using curl_setopt($ch, CURLOPT_HEADERFUNCTION,
> '_setHeader')
> where _setHeader basically does header(header_response), but the
> Set-Cookie header was never accepted by the browser? Not sure
> whether this
> is the way to do it, or whether curl can pass cookie data to browser
> in
> order for cookie to be saved on client machine...
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.