note 18420 rejected from function.header by hholzgra
| From: | hholzgra@php.net | Date: | Tue, 12 Mar 2002 14:39:02 +0000 |
| Subject: | note 18420 rejected from function.header by hholzgra | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-27665@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().