/**
* PHP上传视频
*/
function upload_file($files, $path = "Uploads/shopping", $imagesExt = ['mp4'])
{
// 判断错误号
if (@$files['error'] == 00) {
// 判断文件类型
$ext = strtolower(pathinfo(@$files['name'], PATHINFO_EXTENSION));
if (!i
PHP上传视频
最新推荐文章于 2021-03-28 02:50:03 发布