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
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
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:
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
4 matches
Mail list logo