note 18420 added to function.header
| From: | Daniel Spiljar | Date: | Tue, 22 Jan 2002 10:27:43 +0000 |
| Subject: | note 18420 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25679@lists.php.net to get a copy of this message | ||
If you simply redirect to another page simply by sending an approrpiate "Location" header
and exiting, like this:
header("Location: http://www.php.net/");
exit();
then Netscape 4.x might whine about page containing no data (and perhaps rightfully so).
The simple solution is to print a newline after you send the headers and before you exit().
--
http://www.php.net/manual/en/function.header.php
http://master.php.net/manage/user-notes.php?action=edit+18420
http://master.php.net/manage/user-notes.php?action=delete+18420
http://master.php.net/manage/user-notes.php?action=reject+18420