jipo Posted August 14, 2008 Share Posted August 14, 2008 I need a script that can make a page auto-refresh when idle for "x" second. Is it possible ?? Thanks Quote Link to comment Share on other sites More sharing options...
fri3ndly Posted August 14, 2008 Share Posted August 14, 2008 To refresh or reload php page, you can use "Meta" e.g <META HTTP-EQUIV=Refresh CONTENT="3; URL=http://www.yoursite.com/yoururl.php"> It will refresh in every 3 seconds. You can change 3 to number you like, dynamically if you prefer Quote Link to comment Share on other sites More sharing options...
jipo Posted August 14, 2008 Author Share Posted August 14, 2008 To refresh or reload php page, you can use "Meta" e.g <META HTTP-EQUIV=Refresh CONTENT="3; URL=http://www.yoursite.com/yoururl.php"> It will refresh in every 3 seconds. You can change 3 to number you like, dynamically if you prefer Thanks. But I need to refresh the page when idle only. Quote Link to comment Share on other sites More sharing options...
jipo Posted August 20, 2008 Author Share Posted August 20, 2008 I'm newbie in web programming... Maybe someone can use javascript to solve my problem ? Thanks Quote Link to comment Share on other sites More sharing options...
captbaritone Posted August 20, 2008 Share Posted August 20, 2008 This is no a php question. You will need javascript for this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.