Results 1 to 3 of 3
Hybrid View
-
03-01-2004, 02:11 PM #1WHT Addict
- Join Date
- Jul 2002
- Posts
- 148
How to get a file deleted from a folder in php
Hello
I'm looking for a couple lines of code I can use that can say
Delete the OLDEST file from a particular folder each time the script is executed.
FOr example.
From folder "TEST" remove the oldest file in the directory (of say 50 files)
Thanks for any ideas!
-
03-01-2004, 04:06 PM #2WHT Addict
- Join Date
- Jan 2003
- Posts
- 124
Is that the date of creation or last modified / accessed?
kosta
-
03-02-2004, 02:26 AM #3WHT Addict
- Join Date
- Jul 2002
- Posts
- 148
last created....
Thanks!