Re: Fw: [PHP] Re: headers and cookies

2002-10-30 Thread rolf vreijdenberger
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,

[PHP] Re: headers and cookies

2002-10-29 Thread rolf vreijdenberger
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

Fw: [PHP] Re: headers and cookies

2002-10-29 Thread Kevin Stone
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] Re: headers and cookies but are you

Re: Fw: [PHP] Re: headers and cookies

2002-10-29 Thread Chris Shiflett
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