Maintained by Tampa
Contributions from veso266 & others
Original idea by, Chris Kankiewicz
Original fork from mijorepusic
Directory Lister is a simple PHP script that lists the contents of any web-accessible directory and allows navigating there within. Simply upload Directory Lister to any directory and get immediate access to all files and sub-directories under that directory. Directory Lister is written in PHP and JavaScript.
Distributed under the MIT License.
- Extremely simple installation, no database, additional servers, just drop the files and configure
- Creates on-the-fly listing of any web-accessible directory
- Customizable sort order of files/folders
- Easily define hidden files to be excluded from the listing
- Download of entire directories as zip
- Various sorting options
- Directory size information
- File hashing
- Custom directory descriptions(place .desc file in directory)
- Download counter, traffic estimator
- Dark and light mode
It is recommended to use latest PHP 7.2+ if possible. For more information on PHP, please visit http://www.php.net. PHP 7.3 should work as well, PHP 7.4 has not been tested.
A linux/unix host is needed to support some features, please report issues with other platforms.
For directory zip functionality zip library needs to be present in /usr/bin/zip
Uses some javascript so may not work with browsers from last century.
- Make sure all requirements are met
- Clone or download the repo
- Place all files in the parent-most directory you wish DirectoryLister to use as home
- Rename
default.config.php
toconfig.php
and configure DirectoryLister as needed within, (remove.desc
in main directory to remove welcome message) - Files and folders to be shown can now be placed alongside
- Make sure log file in
resources
folder is write-able
Ensure you have the latest version of Directory Lister installed.
Verify that you have PHP 5.3 or later installed. You can verify your PHP version by running:
php --version
Open up an issue if you need anything.
Directory Lister is distributed under the terms of the MIT License.
Copyright 2017 Chris Kankiewicz
Copyright 2020 Tampa