PDA

View Full Version : HTML download counter



heymrdj
November 14th, 2005, 11:47
I need a counter for the downloads section of my website so I can see how many times each file is downloaded. Any site with a good selection?

themoose
November 14th, 2005, 11:48
i think you can see in awstats if you have cPanel - otherwise you will need a php script, search hotscripts.

heymrdj
November 14th, 2005, 12:42
Ok thanks. I'll look for a script there. I know I can see in awstats but I need one the people can see.

freak127
November 14th, 2005, 12:45
I could write you a simple one if you want, either using .txt files to store the number of downloads, or a MySQL database.

robert allen
November 14th, 2005, 15:30
I could write you a simple one if you want, either using .txt files to store the number of downloads, or a MySQL database.
So simple. </sarcasm> I have knowledge of php and i dunno...

themoose
November 14th, 2005, 15:37
So simple. </sarcasm> I have knowledge of php and i dunno...
its a simple php script - as in theres hard ones and simple ones. this is one of the simple ones. heck, even i could do it if i tried hard enough.

DanTheMan
November 15th, 2005, 11:52
just use mkportal...and it'll keep track of all that and the members

freak127
November 15th, 2005, 15:50
I've already got one that uses a flat-file system, I wrote it for someone else earlier this morning. I have been using PHP for a while now, so I can write most kinds of scripts in it. I'm not trying to boast or anything, I'm just letting you know in case you want help or anything ;) .

Tree
November 15th, 2005, 16:31
I've got one for a MySQL DB if you'd like. I've had it sitting on my HD for a while now. I may have made some modifications and taken comments out. So if you're interested, tell me and I'll make the script easier to read.

si-jerome
November 16th, 2005, 01:12
I don't know if you care what the script is written in, but here's a list of perl options. Some of the descriptions seem to fit what you're looking for.
http://www.freeperlcode.com/guide/Download_Managers/