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.
Yes, but the point is still valid. You mentioned that the class was uploading some files, but not others, no? Do you see any difference between the pictures which work, and the ones that don't work?
I have yet to see the log of a process that doesn't work; could you copy one here?Reply
I have a similar problem with jpgs past a certain size. They don't upload. I altered upload.php in the demo to isolate the error.
echo $handle->log;
$handle->Process('./test/');
echo "made it this far\n";
The problem is with $handle->Process('./test/') It never makes it past this method and it doesn't fail. It just stops. I searched all my error logs on the server, even exotic logs like the audit.log as well as normal logs like the messages log, error.log, and suexec.log and found no errors. It is as if the function is exiting without an error. The script just stops.Reply
But I use 0.25 and I can't upload this image and others.
This image's type is image/jpeg and an other image's type is image/jpeg.
I can upload second image but I can't upload first
In other words, is there a pattern in all the files which don't work?
I have yet to see the log of a process that doesn't work; could you copy one here?
The problem is with $handle->Process('./test/')
It never makes it past this method and it doesn't fail. It just stops. I searched all my error logs on the server, even exotic logs like the audit.log as well as normal logs like the messages log, error.log, and suexec.log and found no errors. It is as if the function is exiting without an error. The script just stops.
See this post or this one or this one.