生成唯一文件名的问题
thumb($filename, 800, 800, "img_800/".getUniName().".".getExt($filename), true);
//在参数"img_800/"后面加.getUniName().".".getExt($filename)是没啥问题的,
但是像这样
$dstFileName = $destination == null?getUniName().".".getExt($filename):$destination.getUniName().".".getExt($filename);
在冒号后面的$destination后面加.getUniName().".".getExt($filename)生成唯一文件名就会出问题,求老师解答