Reply to Local File Disappearing

Local File Disappearing new!
by Fred, 12 years, 9 months ago
The following code returns "image resized" message but doesn't work. I have a file already on the server and this code somehow deletes it but doesn't replace it:
$handle=new upload(getcwd().$this->output_folder.$this->file_name.".".$file_info["extension"]);
if ($handle->uploaded) {
  $handle->image_resize         = $this->resize;
  $handle->image_x              = $this->max_width;
  $handle->image_y              = $this->max_height;
  $handle->file_overwrite = $this->overwrite;
  $handle->process(getcwd().$this->output_folder);
  if ($handle->processed) {
    echo 'image resized';
    $handle->clean();
  } else {
    echo 'error : ' . $handle->error;
  }
}

I am trying to resize and then overwrite the existing image.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