RE: [PHP] Location ....
| From: | Christian Ista | Date: | Wed, 28 Dec 2005 15:43:32 +0000 |
| Subject: | RE: [PHP] Location .... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227935@lists.php.net to get a copy of this message | ||
> From: Jay Blanchard [mailto:jay.blanchard@THERMON.com]
> Header is a good solution, and is the only one available in PHP for
> redirects. It requires that you do not send anything else out to the
> browsers before sending the redirect, which is what is causing your error.
> You can always use the output buffer functions to assist with that.
Ok but there is something more strange.
I use "header location" in a switch/case. An header location by case. I
don't understand at the end of the case, the header location don't work and
I go through the others cases.
Any idea why ?
Thanks,