That is not valid, the Location field must contain the full URL, so
/path/to/file.php
should be
http://yourserver/path/to/file.php
Read RFC rfc2616, section 14
Will help find it:
http://www.google.com/search?hl=en&q=HTTP+Header+Field&btnG=Google+Search
Andrew
----- Original Message -----
From: "Scott Wilcox" <sc0tt@xxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Thursday, September 06, 2007 7:29 PM
Subject: IE Not Following Header("Location: /path/to/file.php");
hey folks.
I have a strange problem with IE sometimes. It doesn't seem to accept
and follow a header sent to the browser. The action occurs when a user
logs in, then is sent this header.
Any hints/ideas appreciated.
Scott.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php