Reply to It works great

It works great new!
by rr1024, 17 years, 4 months ago
worked perfectly this is my setup
$handle->auto_create_dir  = FALSE;
$handle->allowed       = array('image/jpeg','image/gif','image/png');
$handle->no_script     = TRUE;  #security convert script to harmless
$handle->file_safe_name= TRUE; #Remove Name Spaces
$handle->file_overwrite= TRUE;
$handle->mime_check    = TRUE; #security
//$handle->mime_magic_check = TRUE;  //Don't trust dependant on server setup see docs
$handle->no_script     = TRUE; #security
//$handle->image_ratio_x    = TRUE;
$handle->image_ratio   = TRUE;
$handle->image_resize  = TRUE;
$handle->image_ratio_no_zoom_in = TRUE; # added 25
$handle->file_max_size = (int)$ImageArr['Size']; // 1024 = 1KB
$handle->image_y       = (int)$ImageArr['Y'];
$handle->image_x       = (int)$ImageArr['X'];
Thanks this class is hot!Reply

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