My site http://www.uselessthought.net is a text-file site. One section of my site has the most recent files that have been added to the site. Right now, I add them manually. This takes too long and sometimes I will misspell something and mess it up.
What I am wanting is a PHP script that can search all the folders (which I can specify) for files that are uploaded, while excluding the index.php pages. This script should extract the title (I echo the title from <? $title = 'TITLE HERE'; ?>) from the file and place a hyperlink that says that extracted title. And place that link on the "Most recent files" section of my site. While doing this, the list should only stay at the most recent 10.
I know of a couple of other sites who do this, I do not know if this is the method or if it is database driven, but I hope what I ask is plausable and someone can help me out with it.