* Thus wrote Dan Anderson ([EMAIL PROTECTED]):
I need to grab cookies from a web page and pass those cookies back to
the web page when needed. I downloaded the cURL program and was playing
with it, but don't understand how cURL functions correlate into the PHP
equivalents.
How would I
At 2003-08-18 16:17 -0400, Dan Anderson wrote:
I need to grab cookies from a web page and pass those cookies back to
the web page when needed. I downloaded the cURL program and was playing
with it, but don't understand how cURL functions correlate into the PHP
equivalents.
I don't know cURL, but
I believe you need to set the cookie
before any other header information is
passed.
-brian
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 2:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] need help with cookies
Hi, I am trying
I beleive I am attempting to set this cookie before any headers are sent.
?
Kris
On 22 Mar 01, at 14:38, Brian V Bonini wrote:
I believe you need to set the cookie
before any other header information is
passed.
-brian
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
as allready stated you need to set the cookie before data is outpued, you can override
this by editing your php.ini
output_buffering = on;
on another note, I would use sessions for all this, youve created a tone of code that
does almost exactly what sessions can do in a matter of a few
I would suggest for you to take all the complicated stuff out of a simple text
script and try something like this:
%
setcookie("TestValue","Working",600)
%
Make sure that nothing is being sent prior to setting the cookie, and see if IE
prompts you...
Good Luck!
[EMAIL PROTECTED] wrote:
Hi, I
6 matches
Mail list logo