valums/file-uploader — pull request #306 by KJLJon (2012-09-03 16:45:34+00:00)
Title: added getUploadName()

Example:

$result = $uploader->handleUpload( $uploadDirectory );
$result = array_merge( $result, array(
'name' => $uploader->getUploadName(),
) );
echo json_encode( $result );