GitHub - prasathmani/tinyfilemanager: Web based File Manager in single PHP file,...
source link: https://github.com/prasathmani/tinyfilemanager
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Tiny File Manager
It is a simple, fast and small file manager with single php file. It is also a web code editor. It'll run either online or locally, on Linux, Windows or Mac based platforms. The only requirement is to have PHP 5.5+ available.
Demo
Login Details : admin/admin@123 | user/12345
Documents
Requirements
- PHP 5.5.0 or higher.
- Zip extension for zip and unzip actions.
- Fileinfo, iconv and mbstring extensions are strongly recommended.
How to use
Download ZIP with latest version from master branch.
Just copy the tinyfilemanager.php to your webspace - thats all :) You can also change the file name from "tinyfilemanager.php" to something else, you know what i meant for.
Default username/password: admin/admin@123 and user/12345.
Warning: Please set your own username and password in $auth_users
before use. password is encrypted with password_hash()
. to generate new password hash here
To enable/disable authentication set $use_auth
to true or false.
Supported constants:
FM_ROOT_PATH
- default is$_SERVER['DOCUMENT_ROOT']
FM_ROOT_URL
- default is'http(s)://site.domain/'
FM_SELF_URL
- default is'http(s)://site.domain/' . $_SERVER['PHP_SELF']
FM_ICONV_INPUT_ENC
- default is'CP1251'
FM_USE_HIGHLIGHTJS
- default istrue
FM_HIGHLIGHTJS_STYLE
- default is'vs'
FM_DATETIME_FORMAT
- default is'd.m.y H:i'
FM_EXTENSION
- default is""
//upload files extensions
? Features
- ? Open Source, light and extremely simple
- ? Mobile friendly view for touch devices
- ℹ️ Basic features likes Create, Delete, Modify, View, Download, Copy and Move files
- ⏫ Ajax Upload, Ability to drag & drop, upload from URL, multiple files upload and file extensions filter
- ? Ability to create folders and files
- ? Ability to compress, extract files (zip, tar)
- ? Support user permissions - based on session and each user root folder mapping
- ? Copy direct file URL
- ✏️ Cloud9 IDE - Syntax highlighting for over 90+ languages, Over 35+ themes with your favorite programming style
- ? Google Drive viewer helps you preview PDF/DOC/XLS/PPT/etc. 25 MB can be previewed with the Google Drive viewer
- ⚡️ Backup files
- ? Search - Search and Sorting using datatable js
- ? Exclude folders from listing
- ? Multi-language support (English, French, Italian, Russian)
- ‼️ lots more...
License, Credit
- Available under the GNU license
- Original concept and development by github.com/alexantr/filemanager
- CDN Used - jQuery, Bootstrap, Font Awesome, Highlight js, ace js, DropZone js, DataTable js
- To report a bug or request a feature, please file an issue
- We hope our tools will be helpful for you. If you find Tiny File Manager useful for your personal or commercial projects, Help me out for a couple of
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK