Counting Downloads using log files

  javaBalls 13:50 30 Mar 06

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 06

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

click here

  javaBalls 10:13 01 Apr 06

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 06

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.

Qualcomm Snapdragon 835 benchmarks: Antutu, Geekbench 4, GFXBench and PCMark results

1995-2015: How technology has changed the world in 20 years

This stop-frame animation tells a moving story of domestic violence for Refuge

New iPad 2017 preview: Apple's affordable but underspecced new iPad may appeal to the education…