Re: changing to a different file in browser
| From: | In�rcia Sensorial | Date: | Fri, 06 Jul 2001 01:26:24 +0000 |
| Subject: | Re: changing to a different file in browser | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56425@lists.php.net to get a copy of this message | ||
header ("http://www.example.com"); // Goes to
example.com.
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
"Brad Wright" <bradwright@optushome.com.au> wrote in message
news:B76B4E96.384%bradwright@optushome.com.au...
> Hi all,
> I know this is probably the most stupid question you'll see on this list
for
> a while, but anyway,
> In an 'if..else' statement, I want to (if a condition is met) change to a
> totally new php page in the browser window. I know this is simple (in fact
i
> had it working last night but have now forgotten how i did it).
>
> ie (no the following is NOT actual PHP....sheesh :)
>
> If a=1
> go to required_page.php
> else
> do nothing
>
> Thanks in advance,
> Brad
>