Return: array or object (see @param $file above) or Pear_Error
Access: public
Parameters:
mixed
$file
—
If:
not given, function will return array of upload_file objects
is int, will return the $file position in upload_file objects array
is string, will return the upload_file object corresponding
to $file name of the form. For ex:
if form is <input type="file" name="userfile">
to get this file use: $upload->getFiles('userfile')