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.
Indeed, it is very likely that the MIME detection methods are different on the new server. Depending on what the logs say, you may want to deactivate some MIME detection methods in the class, or fix them on the server.Reply
Moved an application to another server and nothing happens when uploading a pdf.
uploading and resizing images works fine thought
I have noticed that mime_magic php module is not there on the new server while it was there in the old server. Could that be the problem?
What other php configuration do I need to check???
Indeed, it is very likely that the MIME detection methods are different on the new server. Depending on what the logs say, you may want to deactivate some MIME detection methods in the class, or fix them on the server.