File Upload Verification And 27.08.08
Hi, I am trying to rewrite an old php script which allows you to upload images and then to store their file names in database. The problem is that this script allows you to upload everything… I need to edit it in order to:
- verify that files are .jpg or .gif
- verify that files are less than (let’s say) 60 kb each
- verify that images are max 640 px * 480 px (or 480*640) - otherwise resize it automatically
Script is Classified Ads from Prozilla. Does anybody can help? If so, I will post involved files.



