Problem with saving "no-named" cookies
Date: Sat, 1 Sep 2007 23:04:33 +0200
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=/
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?
Sorry for my english.
Received on 2007-09-01