<?php $file = $_GET['file']; header ("Content-type: application/x-php"); header ("Content-disposition: attachment; filename=".$file.";"); header("Content-Length: ".filesize($file)); readfile($file); exit; ?>