I want to setup a file called download.php which will accept a file as an id, and I want it to be setup so that instead of referencing links to actual files, the script will get the id and retrieve the file names from the database and ask the user to open/save file.
Can anyone suggest any good tutorial that shows how to do this? or if anyone has a basic tutorial on doing this and would be willing to share, i would appreciate it.