dave:
Well, its not much of, but here is a solution..
have a DL id, depending on how many files you have, you can put them in the DB, disable directory browsing, etc.. and you can use this script to send the file:
<?php
function forcedownload($path) {
//get filename
$filename = basename($path);
//sent the right headers
header("Content-Transfer-Encoding: binary");
header("Content-Type: multipart/mixed");
header("Content-Disposition: attachment; filename=$filename");
//start feeding with the file
readfile($path);
}
?>
You can do something like filedownload.php?dl_id=10101;
You can use a simple query to grab the path / file info from that
You can restrict access through the PHP script however you want, and the user wouldn't know where the directory is to begin with, since its server side. If its a seperate php file (that you parse everything & run the function from) the file download box will just pop up, and off you go.
Hope it helps a little...