View Full Version : "viewers online"

08-08-2006, 08:02 PM
ive seen sites that shows how many viewers are viewing the site. i want to have it on my site too. ive seen some for free with link to their site but i want it on my own. i also seen one but it requires a mysql database. is there a code for that dont need to use database just pure php? thanks.

08-08-2006, 08:05 PM
that depends on how you're tracking your users in the first place?

08-13-2006, 06:23 AM
actualy have can u track users without connecting to database?If they are registered some where its must be stored right ???
you just need script which will read from database how many users u have and display them.

08-13-2006, 06:40 AM
You don't necessarily need your site to be dynamic/mysql based in order to display how many users are online, though having access to mysql in general does make the whole process a lot easier. With that said, here are a few generic who's online PHP scripts:




I also wrote a PHP who's online script a while ago. If you're having trouble with the ones found online, I can try and dig it up. It's somewhere on my hd. :)

08-13-2006, 05:17 PM
Depends, Give more information to what they will be viewing.