Am I doing something wrong? Thank you.
You may print nothing before the redirect header!
?
echo hello;
header(Location: go);
exit;
#wrong!
?
?
?
header(Location: go);
exit;
echo hello;
#oke, but hello isn't print
?
?
- Original Message -
From: phantom [EMAIL PROTECTED]
To: [EMAIL
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
Subject: [PHP] PHP Redirect /
2 matches
Mail list logo