Re: Does PHP support PHP redirection ?
| From: | Ryan J Nichols | Date: | Sat, 08 Jul 2000 22:49:19 +0000 |
| Subject: | Re: Does PHP support PHP redirection ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5522@lists.php.net to get a copy of this message | ||
if ($a) header("Location: a.html");
else if ($b) header("Location: b.html");
Hope this helps,
Ryan
----- Original Message -----
From: mario mario <php3mario@lovemail.com>
To: <php-general@lists.php.net>
Sent: Saturday, July 08, 2000 4:53 AM
Subject: [PHP] Does PHP support PHP redirection ?
> Hi guys,
> I came from asp background .. (but i'm crazy with PHP now)
> In asp, it's support a page redirection..
> it means it can force the page that gonna be send by a server considered
from a condition.
> For example : If the condition is true then the server send page 'a.html'
otherwise it will send page 'b.html'
> any comment please ?
>
> Thanks...
> IO
>
> _____________________________________________________________
> Signup for your FREE email account at http://www.lovemail.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>