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:[EMAIL PROTECTED]] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to