Re: how to redirect ?
| From: | Torsten Roehr | Date: | Fri, 10 Sep 2004 10:46:03 +0000 |
| Subject: | Re: how to redirect ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196291@lists.php.net to get a copy of this message | ||
>"Cbharadwaj" <bharadwaj@ontrackindia.com> wrote in message
news:002c01c48189$bfbbe000$1800a8c0@Cbharadwaj...
>Hi
>
>I have used
>Header (Location:PATH) function for redirection.
>it is giving some errors.
>is there any other method other than HEADER() funtion for redirecting ?
>
>
>Bharadwaj
It will work if you specify a *full* URI:
header('location: http://www.yoursite.com/page.php'); exit;
Pay attention to the exit.
Regards, Torsten Roehr