tinyfilemanager/README.md

56 lines
2.1 KiB
Markdown
Raw Normal View History

2017-07-05 08:54:42 +02:00
# Tiny PHP File Manager
2017-07-05 08:31:58 +02:00
Tiny file manager in single php file
2017-07-05 08:54:42 +02:00
<hr>
2017-11-03 22:00:37 +01:00
<img src="screenshot.gif" alt="H3K | Tiny File Manager">
2017-08-30 10:58:03 +02:00
## Requirements
- PHP 5.2 or higher.
- [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 08:54:42 +02:00
Download ZIP with latest version from master branch.
2017-07-05 09:45:58 +02:00
Copy tinyfilemanager.php to your website folder and open it with web browser (e.g. http://yoursite/any_path/tinyfilemanager.php).
2017-07-05 08:54:42 +02:00
Default username/password: admin/admin. password has encripted with MD5.
Warning: Please set your own username and password in $auth_users before use.
To enable/disable authentication set $use_auth to true or false.
2017-07-05 09:45:58 +02:00
2017-12-13 08:46:34 +01:00
### 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
2018-01-19 06:37:57 +01:00
- `FM_TREEVIEW` - default is `false`
2017-12-13 08:46:34 +01:00
2017-08-30 10:58:03 +02:00
2017-11-05 11:06:59 +01:00
### :loudspeaker: Features
2017-07-05 09:45:58 +02:00
<ul>
2017-11-05 11:46:47 +01:00
<li>:cd: Open Source, light and extremely simple</li>
2017-11-06 19:20:58 +01:00
<li>:information_source: Basic features likes Create, Delete, Modify, View, Download, Copy and Move files </li>
<li>:arrow_double_up: Ability to drag & drop, multiple files upload and file extensions filter </li>
2017-11-05 11:17:57 +01:00
<li>:file_folder: Ability to create folders and files</li>
<li>:gift: Ability to compress, extract files</li>
<li>:sunglasses: Support user permissions - based on session</li>
<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>
<li>:palm_tree: Tree file view</li>
2017-12-14 09:43:45 +01:00
<li>:file_folder: Exclude folders from listing</li>
2017-11-05 11:51:10 +01:00
<li>:bangbang: lots more...</li>
2017-07-05 09:45:58 +02:00
</ul>
2017-12-05 05:39:54 +01:00
2017-12-13 08:46:34 +01:00
This is an excellent and improved version of the original <a target="_balnk" href="https://github.com/alexantr/filemanager">filemanager</a>.