我正在通过在线表单上传视频。这是一段代码:
$path = "../user_uploads/user_media/" . $uid . "/";
$videoFile = $_FILES['files']['tmp_name'];
$imageFile = $uid . '_' . time() . '.jpg';
if (move_uploaded_file($videoFile, $path . $videoFile)) {
$getFromSecond = 5;
$size = "350x200";
$cmd = "$ffmpeg -i $videoFile -an -ss $getFromSecond -s $size $imageFile";
if (shell_exec($cmd)) {
$picres = "y";
} else {
$picres = "";
}
你能告诉我为什么没有move_uploaded_file吗?