Simple and beautiful directory program:

Simple and beautiful directory program:

2020-10-30 / 3 comments / 1491 reading / Checking for inclusion

brief introduction


Files. Photo. Gallery is a simple and beautiful directory program, directly upload index. PHP can be used. Supports online preview of music, pictures, videos, text codes, etc. Suitable for picture display, Catalog Index and other requirements.

Official website:

Download and install
Yes, just index. PHP

PHP extension installation: Gd, mbstring, FileInfo, exif
(GD and mbstring extensions are installed by default)

Partial configuration

About 18 lines: root directory configuration 'root' = [1jeemaa1] ', / / leave blank, default

 //Root configuration 'root' => '', // root path relative to script.  'start_ path' => false, // start path relative to script. If empty, root is start path

About 21 lines: authorized login

 //Authorized login 'username' => '', 'password' = [1jeemaa1] ', / / fill in the parameter to open, leave blank to close

About 62 lines: exclude files or directories

 //Exclude files or directories 'files_ Exclude '= [1jeemaa1]', / / \ (png|jpe? G) $/ I '/ Note: exclude suffix png.jpeg.jpg 'dirs_ Exclude '= [1jeemaa1]', / / \ / MI8 | / Doc / 222 (\ / |) / I '/ Note: exclude the directory mi8.doc.222 'allow_ symlinks' => true, // allow symlinks

For more settings, please refer to the official website:

About authorization

Open source code, function completely free of charge, unlimited use. Unauthorized open each time will pop up the authorization window, of course, you have the ability to support the author to buy genuine.

Share a happy link: @v2.0/files.js
Just localize JS at the bottom of index.php
<script src="<?php echo config::$assets ?>js/files.js"></script>


Comments (3)

  1.  head portrait
    Android Pie · Google Chrome

    good thing

  2.  head portrait
    Self taught examination results
    Windows 7 · Google Chrome

    All right!!!

  3.  head portrait
    Xia Mu Guizhi
    Windows 7 · Google Chrome

    Good stuff~