If I've got a directory full of newsletters and whatnot, with different file types (some PDF, some DOC, some TXT, etc), and they're all named in YYYYMMDD format, how would I access the directory to get the file contents and pull the "newest" (first in reverse alphabetical order, ie 20040918.pdf) file to open, without giving the user a directory listing? I want to click on a link to the PHP file and have it automatically open. I'm not necessarily asking for the entire code snippet to make it work (although that would be great too), but merely a suggestion on where to begin. I don't know how to access file directories in PHP.