| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
COOKIEJAR & COOKIEFILE & modifying outgoing cookies
From: Dave <dave_at_cc0.net>
Date: Wed, 16 Mar 2005 20:34:14 -0800
Hello all,
I am working with PHP/Curl:
PHP-5.0.3 and Curl version reports:
$array[version_number] = 461570
I am trying to get a handle on a couple issues...first of which is
My understanding is that I should use JAR when I have an incoming cookie
JAR=writeonly, FILE=readonly?
Is this a fair assumption?
I then wonder if I should ALWAYS use both JAR and FILE together in order to
My next inquiry is how to modify an outgoing cookie...
I receive some cookies and store in a JAR..one of those particular cookies
I attempt the following:
$ch = curl_init();
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0;
The JAR file does not exist at this point
curl_close($ch);
The JAR still doesn't exist
$new_ch = curl_init();
The JAR still doesn't exist
$ch = curl_init();
Now it exists.
I figured the easiest way to modify the outgoing cookies is to change the
Anyway...if there is a simple way to modify the outgoing Cookie: and or
Any help would be appreciated.
Thanks!
-Dave
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info