From: s-ko Date: Sat, 27 Sep 2014 19:22:08 +0000 (+0100) Subject: :memo: Updated options docs X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0f6311413b1f6a0f97492f3b89b067c1bbbd59b1;p=simple-upload.git :memo: Updated options docs --- diff --git a/README.md b/README.md index 06717be..0937f48 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,44 @@ Just drop a PHP file in any directory. It will work straight away There are few options that you can change by editing the file itself: + +- `uploaddir` => `'.'` + Directory to store uploaded files + + +- `listfiles` => `true` + Display list uploaded files + + +- `listfiles_size` => `true` + Display file sizes + + +- `listfiles_date` => `true` + Display file dates + + +- `listfiles_date_format` => `'F d Y H:i:s'` + Display file dates format + + +- `random_name_len` => `10` + Randomize file names (number of 'false') + + +- `random_name_keep_type` => `true` + Keep filetype information (if random name is activated) + + +- `random_name_alphabet` => `'qwertyuiodfgjkcvbnm'` + Random file name letters + + +- `debug` => `false` + Display debugging information + + + - `uploaddir => '.'` Directory to store the uploaded files. Defaults to rurrect script directory @@ -23,8 +61,8 @@ There are few options that you can change by editing the file itself: ## Usage options -- Through interface: - - Choose files via dialigue +- Through an interface: + - Choose files via dialogue - Drop files, via HTML5 drag'and'drop (using [dropzone.js](http://www.dropzonejs.com/)) - Basic HTML Form (if no JavaScript is suported) - Upload using any compatible tool (like cURL)