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 have the same problem, I work with local files, I uploaded with a perl cgi that I wrote, because my server is so limited in time limit, then when I process a small image, works really fine, but when I process 1MB > crash... don't tell anything, any error, simply when execute $handle->Process('../img/Thumbs1/'); don't continue... break...
So with this picture, just to load it in memory, you a reaching your memory limit. Your application probably use some memory too, and if you do processing on the image, you need more memory.Reply
I have the same problem, I work with local files, I uploaded with a perl cgi that I wrote, because my server is so limited in time limit, then when I process a small image, works really fine, but when I process 1MB > crash... don't tell anything, any error, simply when execute $handle->Process('../img/Thumbs1/'); don't continue... break...
Can you help me... my code is:
please I need it...
Regards
Bruno Chávez
Try to raise your local memory to 20M, 32M or more.
You can add this in your script:
Or in a .htaccess file:
8M * 8 bits = 64Mbytes
So with this picture, just to load it in memory, you a reaching your memory limit. Your application probably use some memory too, and if you do processing on the image, you need more memory.