PHP Classes

function getAllUploadedFiles problem

Recommend this page to a friend!

      AJAX File Uploader  >  All threads  >  function getAllUploadedFiles problem  >  (Un) Subscribe thread alerts  
Subject:function getAllUploadedFiles problem
Summary:function getAllUploadedFiles problem
Messages:1
Author:Cyberscorp
Date:2007-04-25 16:49:34
 

  1. function getAllUploadedFiles problem   Reply   Report abuse  
Picture of Cyberscorp Cyberscorp - 2007-04-25 16:49:34
Hello,

The function getAllUploadedFiles in AjaxFileUploader.inc.php file always returns empty array :

public function getAllUploadedFiles() {
$returnArray = array();
$allFiles = $this->scanUploadedDirectory();
return $returnArray;
}

we must change $allFiles with $returnArray variable.

Thanks.