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.
more info about the class
Not sur but perhaps there's a bug when checking file;
I rename a real photo in maphoto.exe, i set
$handle->allowed = array('image/*');
But result is successfull ..Obiously,I don't want allow others than jpeg, jpg, png . whats going wrong ?!
thx for help,
regards,
Jess