faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

445 of 682 people (65%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

Warning: Cannot send session cookie - headers already sent by (output started at /home/fishing/publi

Feb 26th, 2008 00:06
dman, Henrik Hansen, robert prescott, http://www.ttnr.org


quote from the amnual page for setcookie():
setcookie() defines a cookie to be sent along with the rest of the 
header information. Cookies must be sent before any other headers are 
sent (this is a restriction of cookies, not PHP). This requires you to 
place calls to this function before any <html> or <head> tags.