commit 945d98648c6fcec4d65bad3d2cb3e3e8392a5dc8
parent 86fcb79771421deca97491b9683c071aba221250
Author: Nixx <nixx@firemail.cc>
Date: Sun, 6 Mar 2022 01:01:42 +0000
README update
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/README b/README
@@ -3,12 +3,15 @@ TINYBOX
An extremely primitive file uploader and host, written in PHP.
+The values you may consider changing are at the top of the script, $destdir
+and $maxsize.
+
Collisions are avoided by using the Unix timestamp to generate a filename.
EXIF data is stripped (requires PHP Imagick module). It does not remove files
after a period of time, this must be done manually.
The most likely reason you may experience an error uploading is that the
-'file/' directory doesn't exist, or the user running the web server doesn't
+$destdir directory doesn't exist, or the user running the web server doesn't
have permission to write to it.
Why? Because I needed one, and implementing my own was a very simple task.