Reply to Re: How To Block Fake image Files

Re: How To Block Fake image Files new!
by Yavuz, 15 years ago
system information
- class version : 0.28
- GD version : 2.0.34
- supported image types : png jpg gif bmp
- open_basedir : no restriction
- 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
UNIX file() command not availabled
- Checking MIME type with mime.magic file (mime_content_type())
MIME type detected as by mime_content_type()
- Checking MIME type with getimagesize()
getimagesize() failed
- MIME type detected as image/jpeg by browser
- can't retrieve image information. open_basedir restriction in place?
source variables
- You can use all these before calling process()
file_src_name : haberbot.jpg
file_src_name_body : haberbot
file_src_name_ext : jpg
file_src_pathname : D:\Xampp\tmp\php17AD.tmp
file_src_mime : image/jpeg
file_src_size : 2084 (max= 67108864)
file_src_error : 0
- source file is an image
image_src_x :
image_src_y :
image_src_pixels :
image_src_type : jpg
image_src_bits :
process file to images/haber\
- file size OK
- file mime OK : image/jpeg
- no image properties available, can't enforce dimension checks : image/jpeg
- file name safe format
- destination variables
file_dst_path : images/haber\
file_dst_name_body : haberbot
file_dst_name_ext : jpg
- image operation, keep extension
- checking for auto_rename
- destination file details
file_dst_name : haberbot.jpg
file_dst_pathname : images/haber\haberbot.jpg
- haberbot.jpg doesn't exist already
- the file is not an image!
- no image processing wanted
- process OKReply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important