On Thursday 12 February 2004 14:40, Eric Bolikowski wrote:
> Headers have to be pretty accurate, or it will cause trouble.
> And your redirect header is not quite correct.
> It should be this:
> header("Location: another_page.php");
> and NOT header("Location:another_page.php");
>
> What you need here is a space between "Location:" and the URL.

Also it should be an absolute URL otherwise it might break on some (standards 
compliant only) browsers:

  header("Location: http://www.example.tld/another_page.php";);

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Honesty is the best policy, but insanity is a better defense.
*/

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

Reply via email to