View previous topic :: View next topic |
Author |
Message |
Ru -
Joined: 10 Apr 2007 Posts: 10
|
Posted: Tue Apr 10, 2007 8:11 pm Post subject: Add new column in dir listing? |
|
|
Hi, is there any way to add new column in directory listing for example:
"HITS". Would be nice to see how many times your files have been dawnloaded.
Thanks |
|
Back to top |
|
|
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Tue Apr 10, 2007 10:24 pm Post subject: |
|
|
You would have to write your own script to make it possible. There is not really any need for such a function, no other web server has it. In case you need to track whoever has downloaded something, just use the log file. |
|
Back to top |
|
|
Ru -
Joined: 10 Apr 2007 Posts: 10
|
Posted: Wed Apr 11, 2007 6:59 pm Post subject: |
|
|
Hmm im not sure that theres no need of such a fuction, i know is not a file sharing soft, but i dont want to track the people whos loading my site theres too much info in the log file and its a bit hard to count how many times "exams.rar" are been hited
Im not much in the scripting but it would be nice for litle guide, i googled last night for such script and didnt found anything with HITS
Thank you |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Wed Apr 11, 2007 11:11 pm Post subject: |
|
|
A simple php directory listing script could be used and it could count the number of times it hits a file in a variable. I wouldn't know how to start coding this but it can be done. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Apr 12, 2007 5:38 pm Post subject: Re: Add new column in dir listing? |
|
|
Ru,
This is a costly feature that we won't implement as not everyone needs it. It requires that we use a database to track every file download. On a small site, it's manageable but on a large site (with thousands of files and tens of thousands of vistors), that's simply overkill.
If you want to track in realtime the download count of your files, you'll have to write a script that monitors their downloads and save that information in a database. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
Posted: Thu Apr 12, 2007 10:54 pm Post subject: |
|
|
Ru, try http://www.hotscripts.com/Detailed/64885.html
Quote: | Download Meter is a great script that serves 3 purposes. First, it counts how many times a file has been downloaded. Then, it tracks the location that the download request came from. Finally, it allows you to show a "Download Starting" page like you’d see on many popular download sites. The script is simple to install and easy to use. |
I found it by googling php download hits script. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
Ru -
Joined: 10 Apr 2007 Posts: 10
|
Posted: Sat Apr 14, 2007 5:00 pm Post subject: |
|
|
Thank you all and i do really appreciate your support! :) |
|
Back to top |
|
|
|