Need php page with upload form where user browses to select an image file and then clicks upload.
resize the image to max 70 pixels wide or 70 high, and maintain aspect ratio.
accept only .gif., .jpg, or .png images, and max image size 500k
must prevent malicious files from being uploaded or saved - when bidding, please list ways you will do this.
once resized, display image to user.? this should happen on the same page as the upload.? that is, the page should not refresh when the user clicks upload.
also show an input box for title.? when the user clicks save, save the resized image using a unique file name (please explain how you will do this to keep all image names unique - there will be thousands of images, some saved, some not), and store the title and image file name in a SQL table called Photos.? if the user does not click save, neither the image or any that data are saved.? Disable the Save button until an image is uploaded and a title is input.
using mySQL 4.1 and php 5.? deliverables are the php code and table definition - I will load onto my server and create the Photos table in my mySQL database.