RE: [PHP] Display a mesagge and redirect (newbie)
| From: | Niklas Lampén | Date: | Thu, 17 Jan 2002 14:05:32 +0000 |
| Subject: | RE: [PHP] Display a mesagge and redirect (newbie) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80914@lists.php.net to get a copy of this message | ||
No good, since <meta> starts counting when page is first opened, so
clients with slow connection might not never see the message. I'd rather
use
<body onLoad="setTimeout(\"location.href='http://domain.com/page.html',
5000\");">
which will execute right after the page is completely loaded and move to
the next page after 5 seconds.
Niklas
-----Original Message-----
From: Intruder [mailto:intruder@mail.lv]
Sent: 17. tammikuuta 2002 15:52
To: Php-General
Subject: RE: [PHP] Display a mesagge and redirect (newbie)
>> a) run a mysql query
>> b) display a simpe message
>> c) delay few seconds
>> d)auto redirect to a page
<meta http-equiv="refresh" content="5; URL=new_page.php">
<body>
some message goes here !!!
</body>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net To
contact the list administrators, e-mail: php-list-admin@lists.php.net