From 0f6311413b1f6a0f97492f3b89b067c1bbbd59b1 Mon Sep 17 00:00:00 2001 From: s-ko Date: Sat, 27 Sep 2014 20:22:08 +0100 Subject: [PATCH] :memo: Updated options docs --- README.md | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) 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) -- 2.39.5