Untitled
public php v1 · immutable$file = '/home/file.avi'; header("Pragma: public"); header('Content-Description: File Transfer'); header('Content-Type: application/force-download'); header('Content-Length: ' . filesize($file)); header('Content-Disposition: attachment; filename=' . basename($file)); readfile($file);