How do these PHP download pages (e.g. somesite.com/download.php?id=somefile) often found work?
I originally thought of a page that does the counter stuff, and then simpl
If you precede your DownloadFile() function with some security verification you can easily protect the file, either via using the user_session or sending the password as part of the query.