Re: how to send to URL on if statement?
| From: | Daniel Grace | Date: | Sat, 19 Jan 2002 16:46:44 +0000 |
| Subject: | Re: how to send to URL on if statement? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81227@lists.php.net to get a copy of this message | ||
There is one other option if you're willing to take a slight drop in
performance. Take a quick look at:
http://www.php.net/manual/en/ref.outcontrol.php
-- Daniel Grace <rubein@earthlink.net>
"Richard Crawford" <rscrawford@mossroot.com> wrote in message
news:3C4893D8.3040904@mossroot.com...
> If you have already sent output to the browser, then you won't be able
> to use the PHP header() command to redirect the browser.
>
> There are a couple of ways around this, though; look into the META tag
> in HTML, or you can use JavaScript to redirect the browser.
>