Read the manual section on headers. A header must be sent before any other
output, including whitespace, so putting it in the middle of an HTML page is
totally not going to work. http://www.php.net/manual/en/function.header.php
-Original Message-
From: David Banning [mailto:[EMAIL
-Original Message-
From: David Banning [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 2:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] redirect using header
I have been trying to do a redirect with header;
HTML
HEAD
TITLEOptex Staging and Services Inc. /TITLE
Use --- header(Location:http://newwebpage.com;);
-Original Message-
From: David Banning [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 1:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] redirect using header
I have been trying to do a redirect with header;
HTML
HEAD
TITLEOptex
--- David Banning [EMAIL PROTECTED] wrote:
I have been trying to do a redirect with header;
...
I keep getting the error;
Warning: Cannot modify header information - headers already sent by
(output started at /usr/hosting/optex/goterm/temp.html:8) in
/usr/hosting/optex/goterm/temp.html on
4 matches
Mail list logo