Step down at my blog with your ideas,comments,suggestions on Ruby on Rails, PHP or Web2.0 Technology.

Wednesday, August 23, 2006

refresh a page in PHP

########## mymeta.php ##############
<html>
<head>
<meta HTTP-EQUIV="refresh" content=5;url="bye.html">
</head>
<body>
<h1>hello</h1>
</body>
</html>
############### bye.html ############
<html>
<h2>BYE</h2>
</html>

meta HTTP-EQUIV="refresh" is going to take same action on the browser as an HTTP header takes.
content =5 i.e 5 seconds
url: the page u want after 5 seconds.

0 Comments:

Post a Comment

<< Home