Thursday, March 08, 2007
Show Files in Directory using PHP
This example shows how to use PHP to get a list of all files in the current directory. It proved to be handy when I wanted to create a list of links to all files in the directory. I wanted the list of inks to be updated automatically as I ad new files. The readdir PHP commands has the solution.