class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
I try to use $handle->allowed = array('image/jpg','image/jpeg');, but have error with processing JPEG: unsupported file type.... SAD. Changing to 'image/*' -- have not errors.Reply
Now I have construct that code:
I try to use $handle->allowed = array('image/jpg','image/jpeg');, but have error with processing JPEG: unsupported file type.... SAD. Changing to 'image/*' -- have not errors.