creas un archivo con el nombre hola.php y escribes esto
Código:
<?php
$f = $_GET["ruta"];
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=\"$f\"\n");
$fp=fopen("$f", "r");
fpassthru($fp);
?>
y e otro archivo pones el enlase de descarga
Código:
<a href="hola.php?ruta=archivo.pdf">descargar el archivo</a>
NOTA: deves tener cuidado ya que puedes descargar cualquier archivo asta el codigo fuente de tu web