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.
You need to make sure that you have at least Fileinfo PECL extension, or mime_magic extension activated. As you are on Windows, the UNIX file command will not be available.
On Windows, you need to activate mime_magic it like this in your php.ini
[mime_magic]
mime_magic.debug = On
mime_magic.magicfile = "c:\php\extras\magic.mime"
Note that I am not supporting the class on Windows, and will not be able to help further when it comes to the server configuration of MIME type detection methodsReply
On Windows, you need to activate mime_magic it like this in your php.ini
Note that I am not supporting the class on Windows, and will not be able to help further when it comes to the server configuration of MIME type detection methods