2017-07-05 12:24:42 +05:30
# Tiny PHP File Manager
2018-10-27 22:07:27 +05:30
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
< a href = "https://tinyfilemanager.herokuapp.com" target = "_blank" > tinyfilemanager.herokuapp.com< / a >
## Documents
< a href = "https://tinyfilemanager.github.io/" target = "_blank" > tinyfilemanager.github.io< / a >
2017-07-05 12:24:42 +05:30
< hr >
2018-10-27 22:07:27 +05:30
2017-11-04 02:30:37 +05:30
< img src = "screenshot.gif" alt = "H3K | Tiny File Manager" >
2017-08-30 14:28:03 +05:30
## Requirements
2018-10-16 13:53:16 +05:30
- PHP 5.5.0 or higher.
2017-08-30 14:28:03 +05:30
- [Zip extension ](http://php.net/manual/en/book.zip.php ) for zip and unzip actions.
- Fileinfo, iconv and mbstring extensions are strongly recommended.
## How to use
2017-07-05 12:24:42 +05:30
Download ZIP with latest version from master branch.
2017-07-05 13:15:58 +05:30
Copy tinyfilemanager.php to your website folder and open it with web browser (e.g. http://yoursite/any_path/tinyfilemanager.php).
2017-07-05 12:24:42 +05:30
2018-10-10 22:57:25 +05:30
Default username/password: admin/admin and user/12345.
2017-07-05 12:24:42 +05:30
2018-10-27 22:07:27 +05:30
Warning: Please set your own username and password in $auth_users before use. password is encrypted with < code > password_hash()< / code > . to generate new password hash < a href = "https://tinyfilemanager.github.io/docs/pwd.html" target = "_blank" > here< / a >
2017-07-05 12:24:42 +05:30
To enable/disable authentication set $use_auth to true or false.
2017-07-05 13:15:58 +05:30
2017-12-13 13:16:34 +05:30
### 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 is `true`
- `FM_HIGHLIGHTJS_STYLE` - default is `'vs'`
- `FM_DATETIME_FORMAT` - default is `'d.m.y H:i'`
- `FM_EXTENSION` - default is `""` //upload files extensions
2017-08-30 14:28:03 +05:30
2017-11-05 15:36:59 +05:30
### :loudspeaker: Features
2017-07-05 13:15:58 +05:30
< ul >
2017-11-05 16:16:47 +05:30
< li > :cd: Open Source, light and extremely simple< / li >
2017-11-06 23:50:58 +05:30
< li > :information_source: Basic features likes Create, Delete, Modify, View, Download, Copy and Move files < / li >
2018-04-10 22:02:22 +05:30
< li > :arrow_double_up: Ajax Upload, Ability to drag & drop, multiple files upload and file extensions filter < / li >
2017-11-05 15:47:57 +05:30
< li > :file_folder: Ability to create folders and files< / li >
< li > :gift: Ability to compress, extract files< / li >
2018-09-21 15:55:25 +05:30
< li > :sunglasses: Support user permissions - based on session and each user root folder mapping< / li >
2017-11-05 15:47:57 +05:30
< li > :floppy_disk: Copy direct file URL< / li >
< li > :pencil2: Edit text formats file using advanced editor< / li >
< li > :zap: Backup files< / li >
< li > :mag_right: Search - Advanced Ajax based seach< / li >
2017-12-14 14:13:45 +05:30
< li > :file_folder: Exclude folders from listing< / li >
2017-11-05 16:21:10 +05:30
< li > :bangbang: lots more...< / li >
2017-07-05 13:15:58 +05:30
< / ul >
2018-10-10 22:57:25 +05:30
2018-10-18 14:38:38 +05:30
###### CDN Used
2018-10-10 22:57:25 +05:30
2018-10-18 14:38:38 +05:30
`jQuery | Bootstrap | Font Awesome | Highlight.js | ace.js | DropZone.js`