westman Posted October 25, 2011 Share Posted October 25, 2011 i have files where i need to remove them from my server if they are 30 days old i know of the "filemtime"i know of the "unlink"and now know about the "time()" but how do i put it all together? Link to comment Share on other sites More sharing options...
thescientist Posted October 25, 2011 Share Posted October 25, 2011 well, if you are asking how to kick off the whole process, then you will probably want to look into using cron's to execute a script on an interval. as for the actual, code, what do you have so far? how would you start? even without the code, what are the steps you would come up with? Are the files spread out on your server, or in one place? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.