PHP Image Uploader help you to learn how to upload files and images in MySQL Database and how to implement file upload validation before sending it to a web server.
- Display image preview before uploading
- Place all the uploaded images in a specific folder
- Store images path in the MySQL database
- Check if the real image is uploaded
- Allow only specific file extension such as .jpg, .jpeg or .png
- Make sure file size should not exceed 2MB
- Check if the file already exists