The purpose for this script is to replace the directory listing provided
by the server if no index page is present. Wrapped in XHTML markup, this php script only
list filenames with specific extensions (.html, .php, .css, .js, .txt).
The list of viewable extensions is easy to edit within the script. No folders or sub-directories
are shown, nor is any file named “index”. This script should be renamed
index.php and placed in the directory you want to limit the information of the types
of files.