Code:
<?php

$name = $_GET['name'];
$ext = ".zip";

echo "<a href=\"/downloads/$name$ext\">Download $name</a>\n";

?>
and then use it like download.php?name=myfile

// just had to be more complicated than anyone else

v_Ln