note 9361 deleted from function.require by sniper
| From: | sniper@php.net | Date: | Sat, 18 Jan 2003 15:28:26 +0000 |
| Subject: | note 9361 deleted from function.require by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-42352@lists.php.net to get a copy of this message | ||
If you are using require() and the file contains only php code, any blank lines outside <?php ..
?> will cause the server to send out header information. You will get "header already sent
by" warning, if you try to send header information, as in
if ($redirect){
header("Location: $redirect");
}
So be careful about blank lines in the require() files.