PHP How to include files based on creation date?

Anubiset

New Member
I want to create a news page that includes a snippet of the latest 3 filea created in the following directory structure:So lets say I have the following files:/news.php/2010/the-latest-article.php/2009/some-long-article-name.php/2009/another-long-article-name.php/2009/too-old-article-name.php/2009/another-old-article-name.phpI only want to include the first 3 files into the news.php output.
 
Top