Download interface
Posted: Sat Dec 11, 2004 3:42 am
Hi there,
I was just wondering how the following is usually handled. I have created a download page in php which takes 1 id query as to the file that is requested. This is mainly so I can display download information and also increment my download counter.
The only problem being there is nothing to stop the destination URL from being used to starte the download anyway. So what is normally done under this circumstance? I need to monitor downloads of all my files via 1 page, so would it be a matter of copying the desired file to a temporary place on the server and then letting the client download that one? Then I run into issues as to when to delete the temporary file.
Anyway, just wondered, thanks loads in advance for your input!
Nick.
I was just wondering how the following is usually handled. I have created a download page in php which takes 1 id query as to the file that is requested. This is mainly so I can display download information and also increment my download counter.
The only problem being there is nothing to stop the destination URL from being used to starte the download anyway. So what is normally done under this circumstance? I need to monitor downloads of all my files via 1 page, so would it be a matter of copying the desired file to a temporary place on the server and then letting the client download that one? Then I run into issues as to when to delete the temporary file.
Anyway, just wondered, thanks loads in advance for your input!
Nick.