Re: PHP redirect
| From: | David Grant | Date: | Thu, 29 May 2003 08:42:41 +0000 |
| Subject: | Re: PHP redirect | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149357@lists.php.net to get a copy of this message | ||
Awlad Hussain wrote:
Try this header("LOCATION: page2go.php");I'm not normally so pedantic, however, the HTTP specification defines the above header as "Location", not "LOCATION". 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"); This should ensure compatability between user agents. Regards, David -- David Grant Web Developer david.grant@wiredmedia.co.uk http://www.wiredmedia.co.uk Tel: 0117 930 4365, Fax: 0870 169 7625 Wired Media Ltd Registered Office: 43 Royal Park, Bristol, BS8 3AN Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD Company registration number: 4016744 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. **********************************************************************