Tracking User Downloads (previously posted php_mysql)
Date: 02/11/09
(PHP Community) Keywords: php, mysql, sql
I’m using PHP and MySQL to create a dynamic page that delivers files to users based on group settings.
The user is given a variety of files to download, based on their unique settings.
I want to track what files the user selects to download.
For the life of me…I can’t figure out how to do that without creating a button for each file.
(The button triggers an entry into the appropriate table and starts the download.)
Is there a more elegant solution??
(I’d rather do it within a hyperlink)
Appreciate any help!
Source: http://community.livejournal.com/php/657215.html