32 Commits

Author SHA1 Message Date
Prasath Mani
2331ce3d0f Fix : Added Password_hash() #31 2018-10-16 13:53:16 +05:30
Prasath Mani
484faad1d1 Prevent Google and other search engines from indexing #68 2018-10-16 13:31:39 +05:30
Prasath Mani
48702020e7 Fix: This page is trying to load scripts from unauthenticated sources #69 and #70. 2018-10-16 13:05:55 +05:30
Prasath Mani
995cb5270f Update Screenshot 2018-10-10 23:25:50 +05:30
Prasath Mani
7c9ecf5245 Change Log
- Removed tree list view
- MD5 password production removed
- Login form redesigned
- Checkbox/radio custom controls
- Navigation UI changed
- Responsive Design
- and more..
2018-10-10 22:57:25 +05:30
Prasath Mani
daa349de39 Update README.md 2018-09-21 15:55:25 +05:30
Prasath Mani
9b7802b343 Improvement: Enclose each user into a different directories #38 2018-09-21 15:36:25 +05:30
Prasath Mani
694e77c1f3 #51 BaseURL for tree view 2018-08-24 18:18:53 +05:30
Prasath Mani
93e37c1c22 Merge branch 'master' of https://github.com/prasathmani/tinyfilemanager 2018-08-24 18:02:51 +05:30
Prasath Mani
84baa9e14a #52 Does not respect directory tree while uploading a folder containing sub-folders 2018-08-24 18:01:58 +05:30
Prasath Mani
784fdee5a4 Update README.md 2018-08-06 12:00:20 +05:30
Prasath Mani
cbfa110951 Update README.md 2018-04-13 11:11:27 +05:30
Prasath Mani
7b80d12da3 Added ajax upload 2018-04-10 22:02:22 +05:30
Prasath Mani
0b0d4542f2 Added multiple file upload with drag and drop 2018-04-08 16:00:50 +05:30
Prasath Mani
0ce37ef493 #34 multiple files upload and drag upload. 2018-04-08 15:53:22 +05:30
Prasath Mani
dd63df8e63 Fix #32, The date formatting issue 2018-01-19 11:07:57 +05:30
Prasath Mani
f35f503924 Update README.md 2017-12-14 14:13:45 +05:30
Prasath Mani
e95351852f Array of folders excluded from listing 2017-12-14 14:03:26 +05:30
Prasath Mani
16024e1cda broken file link fix 2017-12-13 17:38:11 +05:30
Prasath Mani
6b48a3f221 Added Html encode 2017-12-13 13:53:51 +05:30
Prasath Mani
cf1eaf8ef1 remove unwanted characters from folder name 2017-12-13 13:26:56 +05:30
Prasath Mani
98749b9ae6 Update README.md 2017-12-13 13:16:34 +05:30
Prasath Mani
e1b30c76e7 Can we hide tree view in the left side? #29 2017-12-13 13:01:14 +05:30
Prasath Mani
05fe347795 Update README.md 2017-12-05 10:09:54 +05:30
Prasath Mani
d460612f09 Update README.md 2017-11-15 12:38:44 +05:30
Prasath Mani
f002ba2168 Fix #25 Limit file uploads to certain file extensions 2017-11-15 12:28:34 +05:30
Prasath Mani
67037c8158 Update README.md 2017-11-06 23:50:58 +05:30
Prasath Mani
952454c470 Update tinyfilemanager.php 2017-11-06 23:43:52 +05:30
Prasath Mani
5045e16461 Merge pull request #23 from alecos71/patch-6
Update tinyfilemanager.php
2017-11-06 23:36:22 +05:30
Alessandro Marinuzzi
287146d8af Update tinyfilemanager.php
Fixed issue concerning deleting files...

Errore: Bad value “return confirm('Delete file?'');” for attribute “onclick” on element “a”: unterminated string literal


I changed with: “return confirm('Delete file?');”
2017-11-06 13:37:45 +01:00
Alessandro Marinuzzi
be1288ac60 Update tinyfilemanager.php
This change solves several bug:

1) FM_EDIT_FILE constant not defined, I added to solve this line:

define('FM_EDIT_FILE', $edit_files);

2) Html Validation issue: acion="" cannot be empty. I replaced all action="" with:

action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>"

3) Login Form contains a lot of HTML + PHP + JS not used and then produces php notice. I solved adding two news header and footer login which are basic HTML + CSS

fm_show_header_login();

and

fm_show_footer_login();

This solves several issue due to unused HTML + PHP + JS elements.
2017-11-06 12:48:05 +01:00
Prasath Mani
a46b93a5fe Merge pull request #22 from prasathmani/add-license-1
Create LICENSE
2017-11-05 16:30:02 +05:30
3 changed files with 1178 additions and 432 deletions

View File

@@ -1,11 +1,11 @@
# Tiny PHP File Manager
Tiny file manager in single php file
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+ available.
<hr>
<img src="screenshot.gif" alt="H3K | Tiny File Manager">
## Requirements
- PHP 5.2 or higher.
- PHP 5.5.0 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.
@@ -15,28 +15,46 @@ Download ZIP with latest version from master branch.
Copy tinyfilemanager.php to your website folder and open it with web browser (e.g. http://yoursite/any_path/tinyfilemanager.php).
Default username/password: admin/admin. password has encripted with MD5.
Default username/password: admin/admin and user/12345.
Warning: Please set your own username and password in $auth_users before use.
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 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
- `FM_TREEVIEW` - default is `false`
### :loudspeaker: Features
<ul>
<li>:cd: Open Source, light and extremely simple</li>
<li>:information_source: Basic features likes Create, Delete, Modify, View, Download, Copy and Move files </li>
<li>:arrow_double_up: Ability to upload multiple files</li>
<li>:arrow_double_up: Ajax Upload, Ability to drag & drop, multiple files upload and file extensions filter </li>
<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>:sunglasses: Support user permissions - based on session and each user root folder mapping</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>
<li>:file_folder: Exclude folders from listing</li>
<li>:bangbang: lots more...</li>
</ul>
Source: <a target="_balnk" href="https://github.com/alexantr/filemanager">filemanager</a>(original version) were built by <a href="https://github.com/alexantr" target="_balnk">alexantr</a>.<br>
This is an excellent and improved version of the original.
### CDN Used
- jQuery
- Bootstrap
- Font Awesome
- Highlight.js
- ace.js
- DropZone.js

Binary file not shown.

Before

Width:  |  Height:  |  Size: 438 KiB

After

Width:  |  Height:  |  Size: 474 KiB

File diff suppressed because one or more lines are too long