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.
Hi when, i upload large file (2M), the $handle->Process crash (return anything and stop the program)
i don't know where i can search ? have you any idea ? thanks
here the log : log : system information - class version : 0.29 - operating system : Linux - PHP version : 5.2.13 - GD version : 2.0.34 - supported image types : png jpg gif bmp - open_basedir : no restriction - language : fr_FR source is a local file /homepages/44/d310671078/htdocs/demo/admin/../site/images/actualites/illustration_temp.jpg - local file name OK determining MIME type - Checking MIME type with Fileinfo PECL extension Fileinfo PECL extension not available - Checking MIME type with UNIX file() command MIME type detected as image/jpeg by UNIX file() command - MIME validated as image/jpeg source variables - You can use all these before calling process() file_src_name : illustration_temp.jpg file_src_name_body : illustration_temp file_src_name_ext : jpg file_src_pathname : /homepages/44/d310671078/htdocs/demo/admin/../site/images/actualites/illustration_temp.jpg file_src_mime : image/jpeg file_src_size : 4479642 (max= 8388608) file_src_error : 0 - source file is an image image_src_x : 3888 image_src_y : 2592 image_src_pixels : 10077696 image_src_type : jpg image_src_bits : 8Reply
when, i upload large file (2M), the $handle->Process crash (return anything and stop the program)
i don't know where i can search ?
have you any idea ?
thanks
here the log :
log : system information
- class version : 0.29
- operating system : Linux
- PHP version : 5.2.13
- GD version : 2.0.34
- supported image types : png jpg gif bmp
- open_basedir : no restriction
- language : fr_FR
source is a local file /homepages/44/d310671078/htdocs/demo/admin/../site/images/actualites/illustration_temp.jpg
- local file name OK
determining MIME type
- Checking MIME type with Fileinfo PECL extension
Fileinfo PECL extension not available
- Checking MIME type with UNIX file() command
MIME type detected as image/jpeg by UNIX file() command
- MIME validated as image/jpeg
source variables
- You can use all these before calling process()
file_src_name : illustration_temp.jpg
file_src_name_body : illustration_temp
file_src_name_ext : jpg
file_src_pathname : /homepages/44/d310671078/htdocs/demo/admin/../site/images/actualites/illustration_temp.jpg
file_src_mime : image/jpeg
file_src_size : 4479642 (max= 8388608)
file_src_error : 0
- source file is an image
image_src_x : 3888
image_src_y : 2592
image_src_pixels : 10077696
image_src_type : jpg
image_src_bits : 8
Search for memory in the site, or click here.
You can also check this post.