Spot the differences:
<input type="file" name="uploadvideo" value="Upload video" id="videoupload" required />
^^^^^^^^^^^
$myFile = $_FILES["myFile"];
^^^^^^
if ($_FILES['file']['error'] !== UPLOAD_ERR_OK) {
^^^^^^
5
solved My PHP is not uploading videos [closed]