LemonInflux Posted October 23, 2007 Share Posted October 23, 2007 Is there a way to refresh an include every 5 seconds? Link to comment https://forums.phpfreaks.com/topic/74430-re-run-an-include-every-5-seconds/ Share on other sites More sharing options...
demon_athens Posted October 23, 2007 Share Posted October 23, 2007 What exactly do you want to do? Give more details. One way would to have an iframe. Link to comment https://forums.phpfreaks.com/topic/74430-re-run-an-include-every-5-seconds/#findComment-376034 Share on other sites More sharing options...
Azu Posted October 23, 2007 Share Posted October 23, 2007 I think he wants one of his PHP pages to automatically run every 5 seconds. Probably some kind of automated maintenance or scraping. Link to comment https://forums.phpfreaks.com/topic/74430-re-run-an-include-every-5-seconds/#findComment-376046 Share on other sites More sharing options...
LemonInflux Posted October 23, 2007 Author Share Posted October 23, 2007 I have a form with, like, a textbox and a submit button. Above that is a window. In said window is a file. The window includes everything in said file. The form writes to the file, and therefore, the information the form writes is displayed. However, several people may be writing to the file, so I need that to update constantly. If anyone's curious, it's a notepad for administrators on my site, and administrators use it to hold notes. However, they may need to talk, so that was the idea. Link to comment https://forums.phpfreaks.com/topic/74430-re-run-an-include-every-5-seconds/#findComment-376055 Share on other sites More sharing options...
Azu Posted October 23, 2007 Share Posted October 23, 2007 I think what you're looking for is Javascript/Ajax/Automatic page refreshing. Nothing to do with PHP includes really.. Link to comment https://forums.phpfreaks.com/topic/74430-re-run-an-include-every-5-seconds/#findComment-376130 Share on other sites More sharing options...
LemonInflux Posted October 23, 2007 Author Share Posted October 23, 2007 ah, ok. Thanks anyways. I'll go post in the AJAX bit Link to comment https://forums.phpfreaks.com/topic/74430-re-run-an-include-every-5-seconds/#findComment-376134 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.