02-18-2009, 12:40 AM
|
#1 (permalink)
|
|
The Acquainted
Join Date: Jan 2008
Posts: 119
Thanks: 21
|
How do I find the most recently uploaded file in a directory?
Hello all,
I would like to use php to find the most recently updated / uploaded files inside of my root directory. I would like to echo the link to the files. I kind of have an idea...
PHP Code:
Use php directory traversal
would I find the $saved_date = date('F jS, Y', filemtime(__FILE__)); ?
How do I get the $saved_date page title? JS?
Display link to 5 latest updated pages
|
|
|
|