This tutorial teaches you step by step how to write a download counter.
This download counter uses MySQL to store the download times. Everytime you
click on a download link, it uses the PHP GET method to insert into the
database and then the download will pop up for the user to download.