- 1
- 2
- 3
- 4
$fileName = substr(md5(microtime() . md5(rand(0, 4)) . md5(123)), 0, 5);
$fileName .= '-' . substr(md5(microtime() . md5(rand(0, 4)) . md5(123)), 5, 8);
$fileName .= '-' . substr(md5(microtime() . md5(rand(0, 4)) . md5(123)), 0, 5);
$fileName .= '.' . end($ext);
Dummy00001 17.10.2017 19:33 # +1
SemaReal 17.10.2017 20:16 # 0