How To Block Fake image Files

See all posts See thread Reply

Re: How To Block Fake image Files new!
by Yavuz, 14 years, 5 months ago
Here my Codes : But Dont Work.

if ($handle->uploaded){	
  $handle->allowed 		= array('image/jpeg','image/gif','image/png');
  $handle->file_safe_name	= true; 
  $handle->mime_check		= true; 
  $handle->mime_magic_check	= true;
  $handle->mime_getimagesize	= true;		
  $handle->no_script		= true; 
  $handle->file_overwrite	= false;
  $handle->image_resize		= true;
  $handle->image_ratio_y	= true;
  //..........
}
Reply
Re: How To Block Fake image Files new!
by colin, 14 years, 5 months ago
Can you copy here the log produced by the class? I cannot do anything without the log.Reply