Page refresh in PHP
Refreshing page in PHP with “meta http-equiv”.
refresh.html
<html> <head> <title>Page Refresh Test</title> </head> <body> <span id="more-48"></span> Page Refresh Test Page <br/><br/> Click the link below for the test: <br/><br/> <a href="refresh2.php">CLICK ME</a> </body> </html>
refresh2.php
<?php echo "Thank You for visiting."; echo "<br/><br/>"; echo "You will be redirected to the previous page after (4) seconds."; //content indicates number of seconds //url indicates the page to be redirected //this page will be redirected to refresh.html after 4 seconds echo "<meta http-equiv=Refresh content=4;url=refresh.html>"; ?>
From Mukesh Chapagain's Blog, post Page refresh in PHP
Related posts:
- How to show child page (sub page) list in parent page in wordpress?
- jQuery: Grey out background and preview image as popup
- Making a tree navigation menu in PHP
- PHP : Read Write Xml with SimpleXML
- Magento: How to check if current page is homepage?
- Go back link in Javascript
- WordPress: Optimizing 404 Page Not Found page
- Random number, string generation in PHP
- Magento: Easily add breadcrumbs to any page
- What are Meta-Tags? Full Description of Meta tags
