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.
I'm having a very confusing problem; the script crashes right after instantiation. I'm working with a very small jpg (33k) to make sure it isn't a memory issue. Nothing is being reported in the error logs either. So I created a simple testupload.php script to see if there's a permissions issue, etc. and THAT works.
I've removed the upload and security checks from the code below to just show the relevant parts.
I've removed the upload and security checks from the code below to just show the relevant parts.