]> git.mxchange.org Git - simple-upload.git/blob - README.md
:memo: Added README
[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