lionelcho86 Posted June 29, 2008 Share Posted June 29, 2008 i need to do a auto refresh on a script's function whenever there is NEW files(images) added in to a folder. can anyone help by giving me some advice? thank you! Link to comment https://forums.phpfreaks.com/topic/112457-refresh-php-script-when-new-file-added-please-help/ Share on other sites More sharing options...
DarkWater Posted June 29, 2008 Share Posted June 29, 2008 That would be more Javascript than PHP honestly, because PHP is server-sided. You'd need to use Ajax and check for new files and it would be really annoying. It would be easier to just have your users just refresh themselves. Link to comment https://forums.phpfreaks.com/topic/112457-refresh-php-script-when-new-file-added-please-help/#findComment-577394 Share on other sites More sharing options...
lionelcho86 Posted June 29, 2008 Author Share Posted June 29, 2008 okie.. but how about using a auto refreshing function? like maybe meta? Link to comment https://forums.phpfreaks.com/topic/112457-refresh-php-script-when-new-file-added-please-help/#findComment-577407 Share on other sites More sharing options...
DarkWater Posted June 29, 2008 Share Posted June 29, 2008 That's not PHP either, that's HTML meta tags or Javascript. Google "auto-refresh meta tag" or something. Link to comment https://forums.phpfreaks.com/topic/112457-refresh-php-script-when-new-file-added-please-help/#findComment-577410 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.