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.
Thank you. I have one other problem. When it creates a directory it CHMODE to 0777 which causes the files not to be accessible I need it to be 0755. I changed it to 0755 in the script but it is still doing 0777. Do I have to add this $handle->dir_chmod = 0755;
$handle->dir_chmod = 0755;
in my upload script as well?