Re: redirecting function
| From: | Ken | Date: | Mon, 14 Mar 2005 10:26:46 +0000 |
| Subject: | Re: redirecting function | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38890@lists.php.net to get a copy of this message | ||
you forgot the quotation marks on header i believe
header('location: www.foobar.com');
and also make sure your browser supports header redirects, not all browsers do.
On Mon, 14 Mar 2005 01:43:09 -0800 (PST), Yemi Obembe
<fickledreams@yahoo.com> wrote:
> hi folks,
> who knows any function that can do this javascript trick
> <script>
> window.location='http://somewhere.com/'
> </script>
> tried header(location:http://somewhere.com/) but it gave me an
> error....include() on the other hand only includes the url & doest redirect to it...
> thnx
>
> ---------------------------------
>
> A passion till tomorrow,
> Opeyemi Obembe | ng.clawz.com
>
>
> ---------------------------------
> Do you Yahoo!?
> Make Yahoo! your home page
>