Re: PHP and URL redirection
| From: | Murray Shields | Date: | Tue, 09 Jan 2001 01:55:56 +0000 |
| Subject: | Re: PHP and URL redirection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33369@lists.php.net to get a copy of this message | ||
> Hello,
>
> I am new to this list and have a quick question:
>
> Is it possible to use PHP to have a user enter a URL and go
> automatically to the specified URL when the submit button
> is pressed without having to use Javascript or HTML meta tags?
Yes. Submit it to another PHP scrip which contains the following:
<?
Header("Location: ".$SubmittedURL);
?>
> Thanks,
>
> Neil
>
>
> --
> 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
>