php autorefresh code example Example: PHP auto refresh page <?php $url1=$_SERVER['REQUEST_URI']; header("Refresh: 5; URL=$url1"); ?>