note 84559 deleted from function.http-redirect by danbrown
| From: | danbrown@php.net | Date: | Sat, 19 Jul 2008 02:31:25 +0000 |
| Subject: | note 84559 deleted from function.http-redirect by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141681@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
Usually you want to put an exit() after the redirrect, not to continue run code on the leaving page.
header("Location: http://www.newurl.net");
exit()