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
Sorry for my bad english but I have a problem and I don't understand why.
If I up small images I have no error but if my image is bigger than 1,5Mo... "Can't create the temporary file. Can't carry on a process".
My php.ini is configured like this :
php_value memory_limit = 40M
upload_max_filesize = 4M
post_max_size = 30M
max_execution_time = 60
Thanks for your help