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.
system information - class version : 0.32 - operating system : Linux - PHP version : 5.3.25 - GD version : 2.1.0 - supported image types : png jpg gif bmp - open_basedir : /home/milenyum:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp - upload_max_filesize : 32M (33554432 bytes) - language : en_GB source is an uploaded file - upload OK - 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 PHP exec() function is disabled - Checking MIME type with mime.magic file (mime_content_type()) mime_content_type() is not available - Checking MIME type with getimagesize() MIME type detected as image/jpeg by PHP getimagesize() function - MIME validated as image/jpeg source variables - You can use all these before calling process() file_src_name : DSC_3398.JPG file_src_name_body : DSC_3398 file_src_name_ext : jpg file_src_pathname : /tmp/php7UV8Ti file_src_mime : image/jpeg file_src_size : 627588 (max= 33554432) file_src_error : 0 - source file is an image image_src_x : 3008 image_src_y : 2000 image_src_pixels : 6016000 image_src_type : jpg image_src_bits : 8 process file to ../media/foto/thumb/ - file size OK - file mime OK : image/jpeg - new file name body : 75aa906f32b288839f4035d389dc7637 - file name safe format - destination variables file_dst_path : ../media/foto/thumb/ file_dst_name_body : 75aa906f32b288839f4035d389dc7637 file_dst_name_ext : jpg - checking for auto_rename auto_rename to 75aa906f32b288839f4035d389dc7637_2.jpg - destination file details file_dst_name : 75aa906f32b288839f4035d389dc7637_2.jpg file_dst_pathname : ../media/foto/thumb/75aa906f32b288839f4035d389dc7637_2.jpg - 75aa906f32b288839f4035d389dc7637_2.jpg doesn't exist already - image resizing or conversion wanted - source image is JPEG - setting destination file type to jpg - resizing... use plain sizes
######################
but, 3285 ($.dst_im = imagecreatetruecolor($x, $y);) - After the line does not continue. something that does not fall a logReply
system information
- class version : 0.32
- operating system : Linux
- PHP version : 5.3.25
- GD version : 2.1.0
- supported image types : png jpg gif bmp
- open_basedir : /home/milenyum:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp
- upload_max_filesize : 32M (33554432 bytes)
- language : en_GB
source is an uploaded file
- upload OK
- 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
PHP exec() function is disabled
- Checking MIME type with mime.magic file (mime_content_type())
mime_content_type() is not available
- Checking MIME type with getimagesize()
MIME type detected as image/jpeg by PHP getimagesize() function
- MIME validated as image/jpeg
source variables
- You can use all these before calling process()
file_src_name : DSC_3398.JPG
file_src_name_body : DSC_3398
file_src_name_ext : jpg
file_src_pathname : /tmp/php7UV8Ti
file_src_mime : image/jpeg
file_src_size : 627588 (max= 33554432)
file_src_error : 0
- source file is an image
image_src_x : 3008
image_src_y : 2000
image_src_pixels : 6016000
image_src_type : jpg
image_src_bits : 8
process file to ../media/foto/thumb/
- file size OK
- file mime OK : image/jpeg
- new file name body : 75aa906f32b288839f4035d389dc7637
- file name safe format
- destination variables
file_dst_path : ../media/foto/thumb/
file_dst_name_body : 75aa906f32b288839f4035d389dc7637
file_dst_name_ext : jpg
- checking for auto_rename
auto_rename to 75aa906f32b288839f4035d389dc7637_2.jpg
- destination file details
file_dst_name : 75aa906f32b288839f4035d389dc7637_2.jpg
file_dst_pathname : ../media/foto/thumb/75aa906f32b288839f4035d389dc7637_2.jpg
- 75aa906f32b288839f4035d389dc7637_2.jpg doesn't exist already
- image resizing or conversion wanted
- source image is JPEG
- setting destination file type to jpg
- resizing...
use plain sizes
######################
but, 3285 ($.dst_im = imagecreatetruecolor($x, $y);) - After the line does not continue. something that does not fall a log
Search for memory in the site, or click here.
You can also check this post.