mac-mark Posted March 23, 2009 Share Posted March 23, 2009 I am relavively new to PHP and scripting but really need some advice. I am trying to automate a monthly report process, these reports are viewed as html pages via a website. Let's say there are 20 reports all together, however some months there may only 15 new ones. At the moment I am going into the html code and changing the file paths for the links that don't have new reports for that month so that they display a 'no new reports for this link' page. Is it possible to write some PHP code that will check the age of a link/file when it is clicked in the browser and it is hasn't been updated int the last month (31 days) go to the 'no new reports for this month' page instead instead of displaying the non-updated file? I hope this makes sense. I would greatly appreciate any helpful tips. Link to comment https://forums.phpfreaks.com/topic/150681-display-page-dependent-on-age-of-link/ Share on other sites More sharing options...
waynew Posted March 23, 2009 Share Posted March 23, 2009 See here. Hope that helps. Link to comment https://forums.phpfreaks.com/topic/150681-display-page-dependent-on-age-of-link/#findComment-791577 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.