This topic is locked

Downloads counter

9/25/2007 6:55:02 AM
PHPRunner General questions
F
francesco author

Hi
I have a list form where each row contains a link for downloading a file and a short description of this file.

In this form user cannot edit or delete data; the only thing he can do is file download (by clicking on hyperlink)

The question is:

How can I know if this user has downloaded the file?

In other words, how can I add an "on click" event BEFORE file downloading?
Thanks in advance for any suggestion.
Francesco

J
Jane 9/26/2007

Francesco,
you can do it editing generated ..._getfile.php (file is stored in the database) or ..._download.php (file is stored on the server) file manually.

Unfortunately we don't have a ready to go solution for this.