Page 1 of 1

how to re-refresh page only once?

Posted: Sun Apr 18, 2004 2:33 pm
by yosuke_
Hi!!
Well, I need to refresh page after 1 second but only once!! With this:

Code: Select all

<meta http-equiv="Refresh" content="1;url=/default.php">
It will refresh it after 1 second all the time!! Is there a code to refresh it only once??? Thank you!

Posted: Sun Apr 18, 2004 2:42 pm
by JayBird
Please, please, please tell me you posted this in the worng forum as a joke!!!!!!!

How many posts have you now had moved from General Discussion!

PLEASE POST IN THE CORRECT PLACE!

Mark

Posted: Sun Apr 18, 2004 2:49 pm
by vigge89
are you using PHP (do you have PHP enabled on your server)?

If so, you could use a refresh to point to default.php?r=n

and then, in default.php, include this:

Code: Select all

<?php
if (!empty ($_GET['r']))
    echo '<meta http-equiv="Refresh" content="1;url=/default.php?r=n">';
?>

Posted: Sun Apr 18, 2004 2:49 pm
by yosuke_
Doesnt my post fit in this forum? if NO the sorry! Please tell me where should I post my stupid questions? Thank You!

Posted: Sun Apr 18, 2004 2:50 pm
by yosuke_
I know its html meta tag, but is there any way to refresh page only once??? And I use PHP!!!

Posted: Sun Apr 18, 2004 2:51 pm
by JayBird
Read the forum discriptions. Just use your common sense....thanks

Mark

Posted: Sun Apr 18, 2004 3:00 pm
by yosuke_
Ok, I will, but can you help me with this one?

Posted: Sun Apr 18, 2004 3:45 pm
by vigge89
yosuke_ wrote:Ok, I will, but can you help me with this one?
I alreade did...

Posted: Sun Apr 18, 2004 3:51 pm
by yosuke_
Wooow!! thank soo you!!!