]> git.mxchange.org Git - simple-upload.git/blob - README.md
:memo: Added usage note
[simple-upload.git] / README.md
1 # Simple PHP upload
2
3 Simple single-file PHP file upload (file share hosting) script.
4
5 > :warning: **Security warning**: There is no limit on file size or file type. Please make sure that file permissions are set right so nobody can execute uploaded executables. Or exscape your desired directory!
6
7 ## Installation
8
9 Just drop a PHP file in any directory. It will work straight away
10
11 ## Configuration
12
13 There are few options that you can change by editing the file itself:
14
15 - `$settings['uploaddir'] = '.';`
16         Directory to store the uploaded files. Defaults to rurrect script directory
17
18 - `$settings['listfiles'] = true;`
19         Option that will list all files in uploads directory. Enabled by default
20
21 ## Usage options
22
23 - Through interface:
24         - Click on upload message
25         - HTML5 Drag'and'Drop (via dropzone.js)
26         - No Javascript HTML Form fallback
27 - Upload using any compatible tool (like cURL)