Skip to content

A simple PHP based directory lister that lists a directory and all it's sub-directories and allows you to navigate there within.

License

Notifications You must be signed in to change notification settings

Tampa/DirectoryLister

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Directory Lister - The simple PHP directory lister

Maintained by Tampa

Contributions from veso266 & others

Original idea by, Chris Kankiewicz

Original fork from mijorepusic

Introduction

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.

Features

  • 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

Requirements

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.

Installation

  1. Make sure all requirements are met
  2. Clone or download the repo
  3. Place all files in the parent-most directory you wish DirectoryLister to use as home
  4. Rename default.config.php to config.php and configure DirectoryLister as needed within, (remove .desc in main directory to remove welcome message)
  5. Files and folders to be shown can now be placed alongside
  6. Make sure log file in resources folder is write-able

Troubleshooting

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.

License

Directory Lister is distributed under the terms of the MIT License.

Copyright 2017 Chris Kankiewicz

Copyright 2020 Tampa

About

A simple PHP based directory lister that lists a directory and all it's sub-directories and allows you to navigate there within.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 78.2%
  • CSS 13.7%
  • JavaScript 8.0%
  • Hack 0.1%