Auto refresh webpage every 5 second with PHP,HTML and JavaScript: 
In this section,I will show how to auto refresh web page with php,HTML and Javascript

Auto refresh the web page every 5 seconds, with PHP
<?php
$url=$_SERVER['REQUEST_URI'];
header("Refresh: 5; URL=$url"); 
?>

Using HTML Meta Tag:
Refresh Page after every 5 seconds.
<meta http-equiv=”refresh” content=”5; URL=http://rajeshstutorials.blogspot.com”>

Using Javascript:
<body onload=”javascript:setTimeout(“location.reload(true);”,5000);”>

time in milliseconds. So if you want to refresh web page after every 5 second than time will be 5000.