Make sure that there is no output from your PHP script - or any HTML code
whatsoever - before you call the header function.
Cheers
Scott
- Original Message -
From: "phantom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 09, 2001 11:01 AM
Subje
> Am I doing something wrong? Thank you.
You may print nothing before the redirect header!
?>
- Original Message -
From: "phantom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 09, 2001 10:01 AM
Subject: [PHP] PHP Redirect / header(&
I am trying to set up a redirect scirpt that in ASP was
response.redirect(escape("newpage.asp")).
I tried in PHP >> header("location: newpage.php")
but all i got was an error message saying that my header content had
already been sent. This PHP script was above the html script.
Am I doing some
3 matches
Mail list logo