note 24564 added to function.header
| From: | awebster at connecTalk dot com | Date: | Wed, 21 Aug 2002 17:58:52 +0000 |
| Subject: | note 24564 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35312@lists.php.net to get a copy of this message | ||
After many hours of frustration, I discovered that Netscape 4.7x handles the Location header
differently than IE 5.5/6.
Most importantly, if the destination specified in Location is the same URL as the page from which it
is called, it does nothing!
Use the <meta http-equiv="refresh" content="delay;url=newurl"> instead.
This works on both browsers:
header("Location: GoToURL");
echo "<meta http-equiv=\"refresh\" content=\"0;url=GoToURL\">";
--
http://www.php.net/manual/en/function.header.php
http://master.php.net/manage/user-notes.php?action=edit+24564
http://master.php.net/manage/user-notes.php?action=delete+24564
http://master.php.net/manage/user-notes.php?action=reject+24564