Need a minimalistic upload script for sharing files? Use this!
- simple installation
- File Upload to server directory
- eMail notification (*if server supports it)
- Open settings.php with your favorite editor and change the values accordingly
- Copy all the files and folders to you webserver (e.g. to ./upload/*) - double check that you've copied the .htaccess file too.
- Create a new folder on your webserver with the name uploadedFiles (name is changeable in settings.php)
Done. Open https://yourdomain.com/upload and try your new minimalistic upload script for sharing files - you should recieve an email with further information directly after someone uploaded a file.
This script uses the default php mail-function to send emails. If not done already you may need to configure your php server to allow email sending via php. See php.ini configuration.
Author: Tim Lüdtke (https://timluedtke.de)
Version 1.4.0 (May 2025)
All graphics used in this project are licensed under the GPL license:
- Circle-icons-speedometer (used as favicon as well)
- GitHub_Logo
The project itself is although licenced under GPL - see here for license details
- Improved visualisation of file upload status with progress-bar
- added a random hash as prefix to the filenames on the server to avoid users accessing the files other than the reciever of the email (for further details see gitlab issue 2)
- made server-directory for Link-generation configurable via settings.php to support non default installation paths
- favicons added
- support for php 8.x ensured
- sending email is now prevented if zero files have been uploaded
- language handling changed
- language is now chosen to match browsers language if available, english is default
- setting $yourDomainForTitle is not necessary anymore, since it is now calculated with parse_url()
- Swapped the text in the bottom and the sublines to ensure the user reads the helping hints in the correct order
- language support added (de/eng)
- SEO noindex added
- cleaned up filestructure
- styling fixes and text changes