Re: redirecting function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux