Skip to content

A minimalistic upload script for sharing files. minimalistic-PHP-Upload lets any user upload files on your server and sends you a link to the files via mail.

License

Notifications You must be signed in to change notification settings

timluedtke/minimalistic-PHP-Upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minimalistic PHP Upload

Need a minimalistic upload script for sharing files? Use this!

  • simple installation
  • File Upload to server directory
  • eMail notification (*if server supports it)

Example Installation

Installation

  1. Open settings.php with your favorite editor and change the values accordingly
  2. Copy all the files and folders to you webserver (e.g. to ./upload/*) - double check that you've copied the .htaccess file too.
  3. 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.

Sending emails

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.

Project details

Author: Tim Lüdtke (https://timluedtke.de)

Version 1.4.0 (May 2025)

Licencend Images

All graphics used in this project are licensed under the GPL license:

The project itself is although licenced under GPL - see here for license details

Changelog

Version 1.4.0

  • Improved visualisation of file upload status with progress-bar

Version 1.3.2

  • 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)

Version 1.3.1

  • made server-directory for Link-generation configurable via settings.php to support non default installation paths
  • favicons added

Version 1.3

  • 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()

Version 1.2.1

  • Swapped the text in the bottom and the sublines to ensure the user reads the helping hints in the correct order

Version 1.2

  • language support added (de/eng)
  • SEO noindex added
  • cleaned up filestructure

Version 1.1

  • styling fixes and text changes

About

A minimalistic upload script for sharing files. minimalistic-PHP-Upload lets any user upload files on your server and sends you a link to the files via mail.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published