<?php header("Content-Type: application/force-download"); header("Content-Disposition: attachment; filename=".($filename)); readfile($file);