View Full Version : PHP Viewing

01-19-2008, 09:46 PM
Whats the best way to count the ammount of people currently viewing a page? Search is down so i don't know if theres a current topic.

01-19-2008, 11:28 PM
Database controlled sessions are probably the easiest way. You can put the location they are currently viewing in there as well. Simply count from your database grouped by the page.
If you use predefined sessions, it will become quite umpleasant quite quickly.
Search on google for a database driven session script. Someone has to have posted one up.