<?php
$file = $_GET['file'];
header("X-Sendfile: $file");
header ("Content-type: octet/stream");
header ("Content-disposition: attachment; filename=".$file.";");
?>