php 图片上传 使用微秒做文件名

$m = microtime ();
$mtime = explode(' ' ,$m);
$mtime1 = $mtime[1];
$mtime2 = substr($mtime[0], 2, 6);
$pic_time = "{$mtime1}{$mtime2}";

原文地址:https://www.cnblogs.com/yingjie13/p/3927281.html