Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Simple Hit Counter

by GreyFox (Initiate)
on May 29, 2006 at 02:00 UTC ( [id://552234]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://552234]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-23 17:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found