Skillz
02-09-2009, 06:12 AM
Is it possible to add this to the directory index?
www.ut-files.com
This site here, I'd like to have the hits on each file count and be displayed on the site next to the description. Is this possible and how?
Easy.
Include the same code in every file that increments a counter by one. A simple file somewhere that stores the count will suffice, but you can use a database as well if you want to get fancier. Simply have your counter display code fetch the counter value and display it.
Which language do you intend to implement this in?
Skillz
02-09-2009, 06:36 AM
Nevermind, I found a script that will do just that.
Oops, didn't see the reply above before I submitted.
I found an directory index script that will do what I want, plus a whole lot more. Thanks for the suggestion though.