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
$handle->file_new_name_body = '".$_COOKIE["xxxxxxxxx"]."3';
I would like to add, implement, a cookie to the file_new_name_body handle, but I don t know how to do it, tried several things all failed.
Thank you for this fantastic class.
Hans