Answers for "auto refresh extintion php"

PHP
4

PHP auto refresh page

<?php
    $url1=$_SERVER['REQUEST_URI'];
    header("Refresh: 5; URL=$url1");
?>
Posted by: Guest on June-05-2020
0

auto refresh extintion php

<?php
$page = $_SERVER['PHP_SELF'];
$sec = "10";
?>
<html>
    <head>
    <meta http-equiv="refresh" content="<?php echo $sec?>;URL='<?php echo $page?>'">
    </head>
    <body>
    <?php
        echo "Watch the page reload itself in 10 second!";
    ?>
    </body>
</html>
Posted by: Guest on April-16-2022

Browse Popular Code Answers by Language