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.
It works with other files, but doesn't work often. I can't understand the problem.
The error is: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3200 bytes) in D:\apache\htdocs\mysite\class.upload.php on line 2763
I'm using these settings:
$handle->file_new_name_body = 'g_'.$id; $handle->image_resize = true; $handle->image_ratio = true; $handle->image_x = 800; $handle->image_y = 600; $handle->jpeg_quality = 100; $handle->image_convert = 'jpg'; $handle->process('products');It works with other files, but doesn't work often. I can't understand the problem.
The error is:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3200 bytes) in D:\apache\htdocs\mysite\class.upload.php on line 2763
And often i got white screen without errors.