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
drwxrwxrwt 2 admin4 admin4 4.0K Apr 19 14:01 tmp
so its set as the right owner and set as 777 for permissions and still get the issue
Do you have the test files (offered in the class package) working?
Does the class work when you upload a file (which is not an image)?
Do you have an open_basedir restriction?
Can you output $foo->log, and paste it here? As well as a link to a phpinfo()?