Page 1 of 1

Warning: Cannot modify header information - help

Posted: Sun Apr 04, 2004 5:18 am
by davidklonski
Hello

I am trying to send a cookie using setcookie, but when I do that, I get the following error:

Cannot modify header information - headers already sent.

Where do I need to place my cookie management code in order for the code to be correct?

thanks

Posted: Sun Apr 04, 2004 5:30 am
by PrObLeM
You need it before any html is ouput also there is ablsolutely no space between the start of the file and <?