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 rent a server, could this be the problem? (from php info)
mime_magic mime_magic support invalid magic file, disabled
Directive Local Value Master Value mime_magic.debug Off Off mime_magic.magicfile /hsphere/local/config/httpd/mime.types /hsphere/local/config/httpd/mime.typesReply
mime_magic
mime_magic support invalid magic file, disabled
Directive Local Value Master Value
mime_magic.debug Off Off
mime_magic.magicfile /hsphere/local/config/httpd/mime.types /hsphere/local/config/httpd/mime.types