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 can upload files other than GIF, JPG, PHG & BMP when using the action='image' option of the demo upload script. Selecting a '.doc' file, the script correctly tells me "Error: Incorrect type of file." but if I choose an EXCEL file or an HTML document it goes ahead and loads it anyway?
Can anybody help?