in reply to Simple Hit Counter

Ok. I was logged in when I clicked on the link to post this. Oh well. I did make this.

Replies are listed 'Best First'.
Re^2: Simple Hit Counter
by rhesa (Vicar) on May 29, 2006 at 02:36 UTC
    It's nice and simple, indeed. But (sorry ;) you will run into problems with it. As soon as two people access the counter at the same time, funny things will happen to your counter, because you don't use file locking.

    Have a look at perlfaq5 - web hit counter, or better yet, File::CounterFile.