setting up .htaccess to monitor downloads

  ©®@$? 23:34 28 Jul 2004

hi is it possible to setup the .htaccess file to monitor downloads, i want to be able to see how many times a download has been done on a particular file...if so please?

or anyway other way to do it, i'll be interested to here it thanks

  Taran 00:05 29 Jul 2004

If there is a way to use .htaccess to count downloads then I don't know it. I'd be happy to hear of one though.

I use PHP for several reasons. It makes a good counting system, especially when combined with an underlying MySQL database, and also (very important) it hides the actual URL of the downloaded file.

Try any one of dozens of possible scripts from Hotscripts:

click here

This one is pretty good:

click here

The site statistics provided by your web host can also tell you how many downloads have been requested.

  Forum Editor 00:50 29 Jul 2004

- even if it could. Put your download into its own directory on the server and monitor the server logs. They'll tell you how many times the directory was accessed.

Doing it this way will mean that visitors see the url for the file, but if it's for free distribution I imagine you won't be too worried about that.

  ©®@$? 01:15 29 Jul 2004

thankyou taran and FE

  ©®@$? 01:39 29 Jul 2004

awsome script that is taran cheers

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Fujitsu Lifebook P727 laptop review

Microsoft Paint set to die after 32 years

Mac power user tips and hidden tricks

Comment désactiver la saisie intuitive et paramétrer votre clavier ?