|
Posted by Peter Münster on 10/23/82 11:56
On Fri, 25 Aug 2006, Platero wrote:
> Hi, how can I get the most recent dated file (or the last created/modified) in
> a specified directory?
You can use scandir() to read all entries and filemtime() or stat() to get
the modification time of each entry.
Cheers, Peter
--
email: pmrb at free.fr
http://pmrb.free.fr/contact/
Navigation:
[Reply to this message]
|