Announcement

Collapse
No announcement yet.

Click Counter

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Skeptical
    replied
    There's only 3 click counting scripts over at hotscripts so I've decided to stick to my original one, "click count". I just added some flocking code on my own. The original writer didn't use perl's flock method. Instead he used his own way, which obviously don't work all the time.

    In case anyone cares, the code I added was:

    Code:
    sub SetLock {
    	flock(DATA,LOCK_EX);
    	# and, in case someone appended
    	# while we were waiting...
    	seek(MBOX, 0, 2);
    }
    
    sub EndLock {
    	flock(DATA,LOCK_UN);
    }

    By the way, does anyone know how to pass the file handle into the SetLock/EndLock functions rather than me having to hard-code it in?

    Leave a comment:


  • George L
    replied
    do a search on this forum for bigbigsavings and click counters i think there's a basic click counter around here or at vbulletin.org

    Leave a comment:


  • Skeptical
    replied
    Guys thanks! Actually I already know about hotscripts. I'm just trying to ask you guys for some specific recommendations. Up to now I've been runnning "Click Counter" but that thing erases files every so often so it's not very dependable.

    Leave a comment:


  • Michael2
    replied
    http://www.hotscripts.com

    Leave a comment:


  • chrispadfield
    replied
    there are loads of these at hotscripts.

    Leave a comment:


  • Skeptical
    started a topic Click Counter

    Click Counter

    Can you guys help me? I'm trying to find a click counter but don't want a full-fledged ad banner system that's complicated to set up.

    I need to have a click counter and have it keep track of all outgoing clicks. It should have the ability to keep track by day, hour, etc... And it should be able to differentiate between unique users (same ip) and by total clicks.

    Example:
    http://mysite.com/click.php?http://www.yahoo.com/

Related Topics

Collapse

Working...
X