eschew.net Script Foundry: Simple Download Counter

This is a very simple download counter for keeping track of how many times an item has been clicked. All to does is add +1 to the number in the database then forwards the user to the appropriate site. It does not have multi-click prevention or anything fancy like that. This code was written primarily as a "look what I can do" thing a long time ago.

Installation
1. mySQL table setup:
CREATE TABLE download (id tinyint(4) DEFAULT '0' NOT NULL auto_increment, count int(11) DEFAULT '0' NOT NULL, url varchar(255) NOT NULL, PRIMARY KEY (id));
2. Add the record for the item/download.
3. Add the link to your web page. Your link should be formed with "download.php?id=xx where xx is what id is set up for the file.

Script Name File Name Downloads Status
Download Counter Download 7077 NO FUTURE UPDATES