Looking for cheap and reliable hosting with CPanel? Look no further!
Check out MochaHost now, they are the host you're looking for!
Automatic Page Refresh
Published on: 2005-10-26 - Views: 47885
Functions like this are used in big portals to automatically refresh the home page (or subpages) in order
to give always updated news.
<?php
header("Refresh: 120;");
?>You can use this php line also to redirect (with the preselected delay) to another page of your site, or external to your site.
This will send the visitor to the forums (assuming you have the forums running under the folder "forums" as ours) after 6 seconds.
<?php
header("Refresh: 6; url=/forums/");
?><?php
header("Refresh: 10; url=http://www.php.net");
?>
Are you getting enough traffic?
Make your website stand out from the crowd, reach the top positions in search engines.
Visit High Quality Links now!

