Re: I'm really getting annoyed with PHP
| From: | Comex | Date: | Thu, 24 Jul 2003 13:04:56 +0000 |
| Subject: | Re: I'm really getting annoyed with PHP | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156636@lists.php.net to get a copy of this message | ||
<20030724130309.8752.qmail@pb1.pair.com>
Zerof:
> I'm using the redirect with php for a long time, with no problems.
> I use it in all of my pages, including navigational menus.
> The great problem with "headers" is the function "exit" if it is used
> to ends the call. "headers + exit", if used in any place, may cause
> some collateral efects. -----
> zerof
> -----
Why? AFAIK, exit quits the script, exactly what you want if you want to
redirect.