PHP Code:
<?
$filename = $_GET['file'];
header("Content-Type: application/force-download");
header("Content-Dishahahahahahahahahaha attachment; filename=".basename($filename).";");
header("Content-Transfer-Encoding: binary");
header("Content-Length: ".filesize($filename));
readfile("$filename");
?>
save as down.php
call with domain/down.php?file=main.html
forces main.html to download