$file = ("video/file.mp4");
header ("Content-Type: application/octet-stream");
header ("Accept-Ranges: bytes");
header ("Content-Length: ".filesize($file));
header ("Content-Disposition: attachment; filename=Vasya_Pupkin_Rulit.mp4");
readfile($file);