Small download counter script edit - flat file to MySQL

I need a small download counter script known as "Download 2.0" from [url removed, login to view] to be converted from using a flat file to using only a MySQL database. Final script needs to be secure and fast.

In addition, I need the script to allow multiple level sub-directories in the "protected file area" -- right now it only seems to work with sub-dirs one deep. Perhaps it can do this already, I'm really not sure.

The original script was released under GPLv2. Development on it has been discontinued, as announced in the forum ([url removed, login to view]).


My request has changed a little, here is more information:

I'm making a "downloads area" for a website. I'm using a pre-built CMS to manage the file entries, but it isn't meant for a "downloads area" so I simply need this downloads.php script edited to work with the CMS entries, for counting downloads and anti-leech.

I need this script edited so that it will:
-Store log data according to id# (each file (i.e. CMS entry) has an id associated with it) instead of by filename so downloads are not reset if filename changes. (so it gets filename and category data from mysql table instead ex. download.php?fileid=12345678)
-Update the total download count value for the file's entry in the CMS table.
-Only keep records in flatfile that are less than 30 days old
-Count clicks to external mirrors. (ex. download.php?fileid=12345678&exturl=

I also need:
-A small PHP script that updates the empty filesizes in the CMS table.
-A small "Popular downloads" PHP script that lists X number of files that were downloaded most in the last X days, next to their total count values for this time.

Skills: PHP

See more: download counter romania, file download counter script, file download counter mysql, download counter script, php download counter, file download counter, flat file download counter, download counter flat file, php forum script, cms flat file download, php file download counter mysql, download counter script cpanel, php download counter script sql, php counter script flat file, download counter editing, file download count using mysql, download count php mysql, download php scripty counter strike, php download counter file based, mysql counter download file name, simple file download counter, download counter, file download counter free html, download counter script php mysql, download counter mysql

About the Employer:
( 1 review ) Oroville, United States

Project ID: #213351

Awarded to:


Hi, Ready to start. Thanks, Dharmendra

$30 USD in 2 days
(40 Reviews)

7 freelancers are bidding on average $69 for this job


Pls see PMB

$100 USD in 5 days
(110 Reviews)

can do the multiple level sub-directories divided with - sign eg.: href="[login to view URL]

$30 USD in 2 days
(107 Reviews)

hi. please provide extra details in pm bid. thanks !!

$90 USD in 5 days
(1 Review)

Please contact for getting this done...

$100 USD in 7 days
(0 Reviews)

Sir We are ready to do this project for you ! This script include ~! Cpanel with image varification and also flat file and mysql database3 support ! We are ready to submit the script with in 24 hours !

$30 USD in 1 day
(0 Reviews)

Make one from scartch w/no addtional fees? Check PMB.

$100 USD in 3 days
(0 Reviews)