note 24861 deleted from function.header by victor
| From: | victor@php.net | Date: | Fri, 30 Aug 2002 16:06:27 +0000 |
| Subject: | note 24861 deleted from function.header by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-36042@lists.php.net to get a copy of this message | ||
Apparently, when you make a redirection with PHP using :
header(Location : $url);
// code after header
the code after header is executed.
To avoid this, you can simply add an exit; after your header(...)