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.
more info about the class
upload_max_filesize = 64M post_max_size = 64M memory_limit = 64M
in the php.ini file
This didnt work.
However I upgraded my version of php to version 5.1.6
and it worked!! :-D
Thank you for a great class