note 41968 added to ref.http
| From: | php-general at lists dot php dot net | Date: | Tue, 27 Apr 2004 23:05:38 +0000 |
| Subject: | note 41968 added to ref.http | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68914@lists.php.net to get a copy of this message | ||
in reference to toashwinisidhu's and breaker's note, a more effective way would be to use
meta-tag redirect, for example.
<?php
$url = "http://somesite.com/index.php";
// target of the redirect
$delay = "3"; // 3 second delay
echo '<meta http-equiv="refresh"
content="'.$delay.';url='.$url.'">';
?>
The meta goes in the head of the HTML.
This method does not require javascript and is supported by most browsers and is rarely, if ever,
filterd out.
----
Manual Page -- http://www.php.net/manual/en/ref.http.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41968
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41968&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41968&report=yes
Search -- http://master.php.net/manage/user-notes.php