RE: [PHP] redirection
| From: | Jay Blanchard | Date: | Wed, 05 Jun 2002 14:53:09 +0000 |
| Subject: | RE: [PHP] redirection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100713@lists.php.net to get a copy of this message | ||
[snip]
I think that's pretty much your only option. You could use javascript to
redirect if you wanted.
> is there any way other than
>
> header("Location: http://www.php.net/");
>
> to redirect to another page.
[/snip]
Using the switch() function that I showed before here is what I have done...
login.php has the login form with an action of login1.php which is script
containing the case statement. It is just a script with no output until it
reaches its chosen header info.
HTH!
Jay