RE: [PHP] How to make sure a redirect works
| From: | Vincent Jansen | Date: | Wed, 10 Mar 2004 17:51:17 +0000 |
| Subject: | RE: [PHP] How to make sure a redirect works | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180031@lists.php.net to get a copy of this message | ||
>If you output a location header then I don't know what the browser will
>do with text sent after that. Hopefully nothing!
I experienced some strange behaviour(=no redirect at all!!) with a
script that send data after the location header.
Best to do this
header("Location: http://somesite.nl");
die();
Vincent