I’m developing server checking & monitoring webpage. I would left the page open all the time on my browser. So it will be good to that page auto refresh every certain amount of time so I don’t have to keep hitting F5 manually to refresh.
For example I want to refresh the webpage every 10 seconds. The are the code.
<?php $url=$_SERVER['REQUEST_URI']; header("Refresh: 10; URL=$url"); ?>
HTML Meta Tag
<meta http-equiv="refresh" content="10">