| Sunday, September 05th, 2010 | Welcome Guest! - Register |
|
Sign In
Forget your password? Donations to date: $62.50 Support This Site Today! Latest Forum Posts |
Sale is OverThe sale in the download's section is now over.Posted by ~Ntsmarkv on Monday, August 31st, 2010 10:03 PM MST
PHP - Who's Online
So you want to make a who's online script on your site huh? Well here is one way to do it: Step 1). Create Table: whos_online Step 2). Run this Sql: click for SQL Step 3). Create whos_online.php click for whos_online.php Step 4). Go to your page and spot you wish to display who's online Now where you want it add this: OK, that's it, your done if you say you required it on the index, and you visit you should see Users: 0 and Guest: 1 all you need to to is set a session up and set your user variable to what your user field is already maybe user_id? otherwise change it. Also here is also a neat way to display it, it has an Active/Disabled feature if the script is working active if it's not Disabled :) Look over there -------> here it is: click for Display Addon This page has been accessed 163 times |
Articles Site Stats
Since July 23, 2005:
1,075,796 hits 783,208 unique visitors Today's Info: 219 hits 74 unique visitors More Traffic Stats Who's Online: Active Users: 0 Guests: 75 KASL Members: Currently 2,539 Newest member: Gilues Forum Stats: There are 9 categories There are 16 topics There are 67 posts Page Load Time Page loaded in 0.045 secs. |