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
See all posts See thread Reply
$count=1
$handle->file_new_name_body = 'image_'.$count++;
$handle->file_overwrite = true; $handle->file_auto_rename = false;
I defined a variable:
then modified the handle:
and made sure the following two handles were set:
Hopefully this will help someone out there trying to do the same.
Thanks again for a fantastic class!
Glad you like the class :)