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.
1. No, this just deals with MIME detection. If the file is accepted, and is an image, then all image-related functions will work.
2. In the code, inside the init() function, line 2206 in version 0.31.
3. Other MIME type detection methods are available if your system supports them. Check the log produced by the class to see how are the files detected.Reply
Thanks for the prompt reply.
I have 2 quetsions:
1) Could this aggect other functions such as the resize and convert?
2) Where should i set $this->mime_magic= false;
If i do that there will be no control to the file types that will be uploaded?
2. In the code, inside the init() function, line 2206 in version 0.31.
3. Other MIME type detection methods are available if your system supports them. Check the log produced by the class to see how are the files detected.