Laden Sie die Videodatei in MySQLI mit PHP hoch

include('conn.php');

  date_default_timezone_set("Asia/Karachi");
  $tods = date('Y-m-d H:i:s');
  $todrep=str_replace(' ', '-', $tods);
  $tod=str_replace(':', '-', $todrep);
  $formate=".mp4";
  $uname=$_POST['uname'];
 $ucountry=$_POST['ucountry'];
 $dir = '../upload/'.$ucountry.'-'.$tod.$formate;
 $input=$_FILES["ufile"]["tmp_name"];
 $inputname=$_FILES["ufile"]["name"];
 $ab = move_uploaded_file($input, $dir);
 if($ab)
 { 
       $uname=$_POST['uname'];
       $ucountry=$_POST['ucountry'];
       $file_name=$ucountry."-".$tod.".mp4";
    
     
     $ivideo=mysqli_query($conn, "INSERT INTO `nomad_data`( `user_name`, `country`, `file`) VALUES ('$uname',' $ucountry','$file_name')");
     if($ivideo){
        echo 'Your Video is submitted please submit more......!!!!';

     }else{
    
        echo "your video is not submitted";
    
     }
     
 }else{
    echo"video not move Error";
 }
 
faheem