Re: PHP redirect

From: Date: Thu, 29 May 2003 09:24:58 +0000
Subject: Re: PHP redirect
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-149362@lists.php.net to get a copy of this message
Actually, the standards require an absolute URL, e.g. header("Location: http://foo.com/bar/baz/something.php"); David Grant wrote:
It might also be an idea to give the filename as a path relative to the root directory, e.g. header("Location: /foo/bar/index.php");
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#149362) next »