About
upld is an open source image upload/hosting script written in PHP
Features
- Completely free to download
- Easy to modify
- Support for short URLs
- User account support with salted and SHA-256 hashed passwords
- Support for remote downloads
- Image reporting feature
- Image deletion allowed by uploader (when logged in) or admins
How does it work?
Here's how the script works when a user uploads an image
- The image is downloaded from either the visitor's computer or a remote server and stored in a temporary location
- The script makes sure the file is a valid image and within the maximum file size limit, otherwise it exits
- If the user is logged in, a thumbnail is created and stored in the thumbs folder (for the account page)
- The file is then moved to the images folder
- Data is written to the database (file ID, extension, upload time and uploader IP address)
- The uploader is redirection to the page where they can view their uploaded image
- The user is provided with a direct link, BBCode link and HTML link