Hi
I need to write a script which reads a file on the server and then outputs it through php by sending all the necessary headers and then the data.
I recently found just the thing but cannot locate the site now! Basically I want visitors to visit download.php?id=1, look up which file has an id of 1 and send it to the browser. This'll let me count downloads and keep anonymous the original filename.
Any idea how to do this?
voidstate