You have chosen to sponsor your bid up to a maximum amount of .
I need a PHP/HTML only code written that will do the following:
1. allow users to upload up to 6 image files and a short description of each image.
> check to ensure some files actually uploaded.
> check that no more than 6 files are uploaded.
> check that each file doesn't exceed a max file size of 150kb per file.
> check to ensure no 'unwanted' images/files are uploaded.
> confirm image files uploaded are only jpeg, gif or png image files.
> check for standard file uploading errors.
> minimize image sizes for web use.
> resize (within ratio) landscape images to max 500 height, resize (within ratio) portrait images to 375 height.
> keep existing file extensions whilst rename all files to specific renaming function including a system generated ID no e.g. YRref($ID)_IMG_00 (01,02,03,04,05 etc.)
2. allow users to upload additional images (if less than 6 initially uploaded) or replace existing images (using existing image filename) and verifying the new images with the rules as above.
I have some PHP/SQL/HTML skills so can 'drop' code into existing html pages and upload image descriptions etc into SQL database.