Re: Forward
| From: | James Mclean | Date: | Tue, 16 Jul 2002 23:29:46 +0000 |
| Subject: | Re: Forward | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14802@lists.php.net to get a copy of this message | ||
Hi,
> How can I forward the user to another page?
Redirecting works like this.
<?
header("Location: http://www.somepage.com/here.htm");
?>
full URL not needed if the file is local to the domain,
IE
<?
header("Location: index.php");
?>
You can even pass arguments like this
<?
header("Location: index.php?d=1&p=3");
?>
Also see http://www.php.net/header
good luck!
On Tue, 16 Jul 2002 06:39:31 -0700 (PDT)
"João Paulo Batistella" <batistellabr@yahoo.com.br> wrote:
Regards,
James Mclean