Counting Downloads using log files

  javaBalls 13:50 30 Mar 2006

I would like to count the number of times a certain file has been downloaded from my website.

I have devised a way of saving the log file and counting the number of occurances.

Is there a way that I can output that number on screen?

  harristweed 08:03 31 Mar 2006

You can read a text file into a variable using php, then print the variable tothe screen!

click here

  javaBalls 10:13 01 Apr 2006

that's a superb idea.

Perhaps I could create cron job that will read the file every day so that my download count increases?

  javaBalls 11:20 01 Apr 2006

this other post might come in handy too. I'll add the link here for my records.

click here

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

Elsewhere on IDG sites

Fujitsu Lifebook P727 laptop review

Best of the Grad Shows 2017: University of the West of England (UWE)

Best value Mac: Which is the best £1249 Mac to buy

Les meilleures GoPro 2017