Ajax Multiple File Handler won't handle moving the file

  •  07-30-2009, 8:13 PM

    Ajax Multiple File Handler won't handle moving the file

    I modified the ajax-multiplefiles-handler.php. At the bottom of the page I added the following:
     
    foreach($guidarray as $fileguid) {
      $mvcfile=$uploader->GetUploadedFile($fileguid);
      if(!$mvcfile)
        continue;
      $mvcfile->MoveTo(D."/vehicle_images/original");
      $mvcfile->createMini(D."/vehicle_images/original", D."/vehicle_images");
      //Deletes this instance.
      $mvcfile->Delete();
    }
     
    Is this the wrong place to add this?
     
    Thanks! 
    Filed under: ,
View Complete Thread