获取文件名的基本信息
<?php
//想要获取a.jpg这个文件名的基本信息
//
require '10_return.php';
require 'library/strinf.php';
print_r(getFileInfo('global.css'));
echo '<hr>';
echo uuid();
echo random(0);
//////////////////////////////////////////
<?php
$files = [
'name' => [
0 => '1.gif',
1 => '1.gif',
2 => '1.gif',
],
'type' => [
0 => 'image/gif',
1 => 'image/gif',
2 => 'image/gif',
],
];
$files = [
['name' => '1.gif','type' => 'image/gif'],
['name' => '1.gif','type' => 'image/gif'],
['name' => '1.gif','type' => 'image/gif'],
];