Reply to Problem with upload PNG images

Problem with upload PNG images new!
by Alvaro, 13 years, 5 months ago
hi, i have a strange problem when i try to upload png images only, the image is not uploaded and on my database i get this /tmp/phpoOkg67

this problem a server configuration but my support dont help yet - somebody know anything?

$handle = new Upload($_FILES["Webradio_Rodape"]);  
if ($handle->uploaded){     
  $imageName = $handle->file_src_name;
  $handle->file_new_name_body   = date("Ymdhis").md5($imageName);
  $handle->mime_check           = true;   
  $handle->allowed              = array('image/*');
  //$handle->image_convert      = '';
  if(($handle->image_src_x > 200) || ($handle->image_src_y > 100)){
    $handle->image_resize     = true;
    $handle->image_ratio      = true;
    $handle->image_x        = 200;
    $handle->image_y        = 100;      
  }
  $handle->Process('../img/Webradio/');
  if ($handle->processed){
    $Webradio_Rodape = $handle->file_dst_name;
  }
}
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