This script could be used to let you upload files to your web server using only your web browser. To use, you only need to change 2 variables - set the base directory and a password.
You will need to create the directory on the server and set the permission to 0777. This script will limit what type of files you can upload to images, zip archives and pdf documents.
It will additionally automatically create sub-directories if required. It will not allow you to overwrite an existing file. You can also do a directory listing to see what files are on your server.
In order to limit who can upload files or do a directory listing, a configured password must be entered.