Re: Redirecting a user
| From: | Torsten Roehr | Date: | Thu, 01 Jul 2004 14:28:55 +0000 |
| Subject: | Re: Redirecting a user | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189464@lists.php.net to get a copy of this message | ||
"Shaun" <shaunthornburgh@hotmail.com> wrote in message
news:20040701142309.16358.qmail@pb1.pair.com...
> Hi,
>
> Please could someone tell me how I can redirect a user to the page they
came
> from including any query strings attached to the URL?
header('location: ' . $_SERVER['REQUEST_URI']); exit;
Regards,
Torsten Roehr