|
Posted by Rik on 02/23/07 00:11
On Fri, 23 Feb 2007 00:18:52 +0100, shror <shahirwm@gmail.com> wrote:
> i'd like to add number of visitors are currently on my website, but i
> really dont know how or even i cant find a script for it except for
> asp.net one and i dont know about asp.net any thing and i want to keep
> all my work using the php
There's no way you can do this, any script that claims this is lying. You
can however report how many users were active in the last n minutes. If
your users are logged in, it should be easy, if they're not, you'd have to
set a cookie or something similar to keep them apart. Which will result
in counting only visitors who accept cookies. Counting unique IP's has
often been suggested, but a users IP can change, and 1 IP can can mean a
lot of different users (behind a corporate connection for instance).
--
Rik Wasmus
Navigation:
[Reply to this message]
|