2

I don't like solutions that require loading images via PHP.

Count image views

Nor do I like the ajax solution because say someone leaches or even locally uses the image and forgets the PHP call.

Is it possible to simply parse Apache logs or such to get a more efficient and accurate view count.

If there are such libraries out there already, I would love to know about them, I can't seem to find any. I know there are statistics software like that but it's been near a decade since I've used anything like that (gotten lazy with Google Analytics), would like some recommendation on that as well if it would help.

Community
  • 1
  • 1
Serhiy
  • 2,505
  • 3
  • 33
  • 49
  • @Fabricator thanks, looks interesting, but don't think it's quite what I'm looking for – Serhiy Feb 17 '16 at 04:38
  • 1
    Processing the apache log files is the best way to do it. http://www.awstats.org/ or any other package should do the job. – Matt Feb 17 '16 at 04:39
  • @mkaatman thanks, this may be what I used nearly a decade ago :P, if you make it an answer and no-one offers anything better, I'll accept it... – Serhiy Feb 17 '16 at 04:50

1 Answers1

1

There are a dozen ways to do it.

Apache log processing is probably the best depending on your needs.

I'd check out: http://www.awstats.org/ or http://www.haveamint.com/

Matt
  • 5,315
  • 1
  • 30
  • 57