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 saw in the docs that the type of files allowed to be uploaded is JPG, PNG, GIF and BMP, yet I just uploaded a .txt file with no errors. Did I read the docs incorrectly or do I need to check in the form to make sure the file being uploaded is one of these 4 types?Reply
If you don't have the expected results, check the log produced by the class.