what I found out in the meantime is that you CAN use cookies and headers,
just like you said, but my particular problem arose because a notice was
issued for an undefined variable;
I didn't check correctly for it's existence.
so any output, and also output like notices, warnings and errors, just
There is no such "restriction of cookies."
I think what the manual meant to say was that cookies must be sent prior
to any output, which is the same restriction any other header has that
you wish to set with the header() function, for example.
I have forwarded this along to the documentation te
kies after you set other headers then use
Output Buffering.
http://www.php.net/manual/en/function.ob-start.php
-Kevin
- Original Message -
From: "rolf vreijdenberger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 29, 2002 1:59 PM
Subject: [PHP] R
but are you really sure that you cannot use setcookie() and header() at the
same time??
I cannot find it anywhere, either in the manuals or in tutorials or in the
output control functions!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo