You are here: Re: most recent dated « PHP Programming Language « IT news, forums, messages
Re: most recent dated

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация