Jump to content

Refresh script.


spasm37

Recommended Posts

I'm trying to script an internal auto refresh. I have information on my site that is gathered from another server, but will only update if I go to the "update.php" file directly. And if I keep the window open, I can just click refresh and then it'll update again. Is there a way for me to not have to keep clicking refresh so it'll automatically do it every 10 min or something. This is a 24/7 statistics script, and I don't want to have to go back and forth multiple times a day so people are getting the latest factual information.
Link to comment
https://forums.phpfreaks.com/topic/10179-refresh-script/
Share on other sites

[!--quoteo(post=376020:date=May 22 2006, 01:11 PM:name=spasm37)--][div class=\'quotetop\']QUOTE(spasm37 @ May 22 2006, 01:11 PM) [snapback]376020[/snapback][/div][div class=\'quotemain\'][!--quotec--]
I'm trying to script an internal auto refresh. I have information on my site that is gathered from another server, but will only update if I go to the "update.php" file directly. And if I keep the window open, I can just click refresh and then it'll update again. Is there a way for me to not have to keep clicking refresh so it'll automatically do it every 10 min or something. This is a 24/7 statistics script, and I don't want to have to go back and forth multiple times a day so people are getting the latest factual information.
[/quote]


Why don't you include that update.php file in the header of your site?
So, everytime a visitor visits your site, he will automatically have the latest updates.
Link to comment
https://forums.phpfreaks.com/topic/10179-refresh-script/#findComment-37962
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.