shoutmix

11 Juli 2011

reload page after a few second

Question

script php yg buat ngeload otomatis tu ky di kaskus setelah post reply kan ada pemberitahuan berhasil ngepost trus langsung ngeload ke thread-nya, apa tu gan??
english
is there php script that able to load after amount of time?


I see from Forum. The script like this always/can be see in Forum.. and this I got from Forum?!?


<noscript>
<meta http-equiv="Refresh" content="2; URL=target.php" />
</noscript>

<script type="text/javascript">
<!--
function exec_refresh()
{
    window.status "Redirecting..." myvar;
    myvar myvar " .";
    var timerID setTimeout("exec_refresh();"100);
    if (timeout 0)
    {
        timeout -= 1;
    }
    else
    {
        clearTimeout(timerID);
        window.status "";
        window.location "target.php";
    }
}

var myvar "";
var timeout 20;
exec_refresh();
//-->
</script>

Change target.php with another file

0 komentar:

Posting Komentar

Powered By Blogger