Files and Folders: UploadSimples
zito loco (contact me)
This class can be used to validate process uploaded image files.
It can validate an uploaded file to accept only with image MIME types and with a size lower than a limit.
The class can also rename an uploaded image file and resize it to make it have a width or height that does not exceed a given size limit.
The code and the comments are in Portuguese.
Click here for detailed information about this class on phpclasses.org