auto refresh page php

PHP
header("Refresh:0");<?php
    $url1=$_SERVER['REQUEST_URI'];
    header("Refresh: 5; URL=$url1");
?>
Source

Also in PHP: