This PHP class uploads files and manipulates images very easily. It is in fact as much as an image processing class than it is an upload class. Compatible with PHP4 and 5. Supports processing of local files, uploaded files, files sent through XMLHttpRequest.
http://github.com/verot/class.upload.php or http://www.verot.net/php_class_upload.htm
origin - http://www.pipiscrew.com/?p=3346 php-class-upload