Re: [PHP] header already sent problem

2005-03-25 Thread Chris Shiflett
AndreaD wrote: It's not a header it is a setcookie setcookie() is just a function that makes setting cookies a bit more convenient. It's still setting a header called Set-Cookie. In fact, you can manually set cookies: header('Set-Cookie: foo=bar'); how do I arrange the code so the cookies are se

Re: [PHP] header already sent problem

2005-03-25 Thread AndreaD
It's not a header it is a setcookie, how do I arrange the code so the cookies are set before the header is set? At what point in the HTML are the headers sent. R. "Ken" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 25 Mar 2005 15:03:45 -, AndreaD > <[EMAIL PROTECTED

[PHP] header already sent problem

2005-03-25 Thread Ken
On Fri, 25 Mar 2005 15:03:45 -, AndreaD <[EMAIL PROTECTED]> wrote: > is there an alternative way to suppress the headers already sent problem? > Ob_start/flush is not very neat way to so this. > > AD > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php

[PHP] header already sent problem

2005-03-25 Thread AndreaD
is there an alternative way to suppress the headers already sent problem? Ob_start/flush is not very neat way to so this. AD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php