Home » PHP

Page refresh in PHP

19 March 2008 276 views Popularity: 1% Share/Bookmark

email

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>";

?>

Related posts:

  1. How to show child page (sub page) list in parent page in wordpress?
  2. jQuery: Grey out background and preview image as popup
  3. Making a tree navigation menu in PHP
  4. PHP : Read Write Xml with SimpleXML
  5. Magento: How to check if current page is homepage?
  6. Go back link in Javascript
  7. WordPress: Optimizing 404 Page Not Found page
  8. Random number, string generation in PHP
  9. Magento: Easily add breadcrumbs to any page
  10. What are Meta-Tags? Full Description of Meta tags
  • http://yogeshkikalam.blogspot.com Yogesh Chandra Upreti

    Hello Dear Mukesh can you please tell me something about PHP i am new to PHP
    How can i implement php script in asp.net what refrence will be required and how to do this?

    Please Please Please tell me its urgent

  • http://yogeshkikalam.blogspot.com Yogesh Chandra Upreti

    Thanks in advance