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.
// ext_check LIKE mime_check // Set this variable to false if you don't want to check // the file extension against the allowed list $handle->ext_check =true;
Please possible for next release or bugfix, thank you.