[PHP] Re: setcookie problem: Cannot add header information - headers already sent by

2002-03-13 Thread Frank Ramsay
Cookies have to be set before the HTML block begins. -fjr Bob wrote: here is the example: ?php // Beginning php // Saving the page header in the variable $head. $head = ENDH !DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN html head titleFeedback form/title

RE: [PHP] Re: setcookie problem: Cannot add header information - headers already sent by

2002-03-13 Thread Rick Emery
for it in my code. Bob: after the page bombs-out with error message, do a view source on the displayed web-page -Original Message- From: Frank Ramsay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 7:17 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: setcookie problem: Cannot add header

[PHP] Re: setcookie problem: Cannot add header information - headers already sent by

2002-03-13 Thread qartis
I don't think you can have an empty line (even in the php) before cookies are set Frank Ramsay [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Cookies have to be set before the HTML block begins. -fjr Bob wrote: here is the example:

RE: [PHP] Re: setcookie problem: Cannot add header information - headers already sent by

2002-03-13 Thread SHEETS,JASON (Non-HP-Boise,ex1)
PM To: [EMAIL PROTECTED] Subject: [PHP] Re: setcookie problem: Cannot add header information - headers already sent by I don't think you can have an empty line (even in the php) before cookies are set Frank Ramsay [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P