PDA

View Full Version : "viewers online"



kiko08
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.

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

graf
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.

ddadmin
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:

http://codewalkers.com/tutorials/14/1.html

http://codewalkers.com/seecode/612.html

http://codewalkers.com/seecode/75.html

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. :)

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