Table of Contents generated with DocToc
Just like the in the 1990s, everyone needs a good web file manager that does not rely on a silly MySQL database.
Especially useful for situations when you need a quick and simple web admin for an arbitary folder on your website when FTP or SSH is not available/ desired, have friends who are not tech-savy, or simply do not trust any server but your own to store/share your files.
The web based file manager with the features below built using Php
- Password/authentication. Can be configured to be enabled/disabled.
- File Upload. Can be configured to be enabled/disabled.
- Ability to unzip ZIP files to a desired folder.
- Folder creation. Can be configured to be enabled/disabled.
- Folder deletion. Can delete folders that are not empty.
- Customizable directory path.
- Rename files.
- Edit files using the pretty amazing ACE Editor (http://ace.c9.io). Ability to specify which files can be edited. Editing can be configured to be enabled/disabled.
- Configurable hidden files. Ability to specify files that should not be displayed. Can be configured to be enabled/disabled.
- Simple User friendly interface - Clear error and success confirmation messages.
- User customizable interface - HTML and CSS is organized into HTML templates that can be customized without editing Php.
Take a look at Github Issues to learn more about features i'm considering. Feel free to make suggestions or post bugs.
- Checkout the git repository for phpFileManager
- Install Bower by running
npm install -g bower
- In the git repo folder for phpFileManager, run
bower install
- Copy files from phpFileManager to a dedicated directory (eg.
\admin\
) on an Apache HTTPD server with Php configured. chmod 666
bothconfig.ini
and the files in\templates\
.chmod 755 index.php
.- Update configuration properties in
config.ini
. chmod 777
the directory to be managed eg.\content
.
Sample directory structure
\admin
\index.php
\config.ini
\images
\*.gif
\js
\*.js
\css
\styles.css
\app
\*.php
\views
\*.html
\bower_components
\*
\content (directory to be managed)
\...
- NEW: Integrated the ACE Editor (http://ace.c9.io).
- NEW: Externalized configuration options to
config.ini
. - NEW: Added ability to customize the base content directory that will be managed.
- NEW: Externalized html/css into templates. Also improved general formatting and pretty icons.
- NEW: Added capability to unzip uploaded Zip files.
- UPDATE: Improved Error messaging. Added Success messaging.
- REVERTED: Added images back in.
UPDATE: Converted images to base64 and embedded in index.php - UPDATE: Improved directory and file name validation as well as case sensitivity.
- NEW: Added a JavaScript confirmation popup when unzipping, deleting files/folders.
GNU GENERAL PUBLIC LICENSE Version 3
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.