
PHP
- 7 ответов
- 0 вопросов
11
Вклад в тег
$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);