Thread
:
(PHP?) Scan server for rarely used files?
View Single Post
12-17-2007, 10:16 AM
Bro Media - BANNED FOR LIFE
MOBILE PORN: IMOBILEPORN
Join Date: Jan 2004
Location: Tinseltown NL
Posts: 16,502
fileatime should work, just use it to check, then loop through the directory and unlink() files that haven't been used in x amount of time.
Bro Media - BANNED FOR LIFE
View Public Profile
Visit Bro Media - BANNED FOR LIFE's homepage!
Find More Posts by Bro Media - BANNED FOR LIFE