• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

auto localhost refresher

untouchable

New Member
Joined
Jan 29, 2009
Messages
41
Reaction score
1
i need a program or script to refresh my tibia website every 1 min becaouse if its not refreshed it will not work so please anybody has any suggestions reply rep+++
or if theres a way plz tell how thanks again rep+++
 
Is this something you are looking for? It will refresh the current page every minute. This requires you (or any visitor) to be active on the page though.
PHP:
<?PHP
    header('Refresh: 60; '.basename(__FILE__));
?>
 
Is this something you are looking for? It will refresh the current page every minute. This requires you (or any visitor) to be active on the page though.
PHP:
<?PHP
    header('Refresh: 60; '.basename(__FILE__));
?>


ok and where i put that in my databse or xampp or my server file
and what you meen i have to be active like someone needs to be like using the web lokking for somthing and refreshes it?
 
You have to put this piece of code into .php file. Then go to your web browser and type http://address/file.php and it'll refresh every 60 seconds.

but in which php folder im bad at scripting and finding folders etc my scripter on vacation trying to get this fixed so dont need to wait for him the xampp htdocs folder? or my server lua folder or locaolhost/phpadmin
 
There is also meta content refresher.

<meta http-equiv="refresh" content="5;url=URL OF WEBSITE TO REFRESH">

The 5 is the number of seconds between each refresh.
 
Back
Top