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

curl-and-php

Problem with saving "no-named" cookies

From: Paweł Hrycyk <pawelhrycyk_at_gmail.com>
Date: Sat, 1 Sep 2007 23:04:33 +0200

Hi,

I have a problem with saving cookies which has no name (there is only
value). All other cookies (with name) are saving good.
Headers which save cookies without name:
Set-cookie: 2dcffb7d30a5009e3049c6d47d562fa5; path=/
or
Set-cookie: =2dcffb7d30a5009e3049c6d47d562fa5; path=/

This is part of my code:
$mypath = getcwd();
$mypath = preg_replace('/\\\\/', '/', $mypath);
$cookie = $mypath.'/cookie/mycookie.txt';
curl_setopt($this->c, CURLOPT_COOKIEJAR, $cookie);
curl_setopt($this->c, CURLOPT_COOKIEFILE, $cookie);

What can I do with this?

Thanks.

PS
Sorry for my english.
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-09-01