valums/file-uploader — pull request #521 by bolovincev (2012-12-08 10:32:49+00:00)
Title: Setter for upload name

Example:

MySecurityUploader extends qqFileUploader
{
public function setUploadName($uploadName)
{
$pathinfo = pathinfo($uploadName);
$ext = @$pathinfo['extension'];
$ext = ($ext == '') ? $ext : '.' . $ext;

$this->uploadName = md5(uniqid()).$ext;
}
}