Skip to content
A simple all-in-one php directory listing script.
PHP CSS JavaScript
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
index.php Bug fix. Nov 26, 2019
package.json Initial commit. Jun 17, 2019
screenshot.png Add screenshot.png. Jun 23, 2019
style.scss Update comments to be more clear, add support for more file formats i… Jul 16, 2019

Directory Lister

A simple all-in-one directory listing script written in PHP. Just drop only the index.php file into the directory you'd like to list on a server. It only lists the current directory, and links directly to the files it lists, so it can't be abused to list any other directories. The icons (famfamfam's silk icons - are base64-encoded into the stylesheet that's included in the file, so the script doesn't need a resource folder.

71 clean, commented lines of PHP awesomeness. Enjoy!

Quick Install (CLI)

To quickly install this script (just the index.php file), navigate to your directory in the command line interface, and paste in this command. You do need to have cURL installed, but that's available on most platforms that support php.

curl -O

Screenshot of Directory Lister

Developed with love by James Pederson.

You can’t perform that action at this time.