Help - Search - Members - Calendar
Full Version: Online Users?
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
the next flcl
Can anyone help me for putting a script that would show online users?
mark_ce
I think this code will help you an idea.
CODE
<?php
$user=$HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR'];
echo"Online User:<br>";
echo"$user";
echo"I'm still working for the complete code :D i'm just giving you an idea.";
?>

But, that's not enough, i'm still working on it.
IamShipon1988
Sorry for the late reply. If you are talking about displaying number of users online, then you can visit this site, that goes into much detail on the script: http://www.devarticles.com/c/a/MySQL/Displ...Page-Viewing/1/ or you can try this site if you want to save time: http://www.scripts.com/viewscript/tg-whos-online/19455/

If you want to do something non-database driven, then you can do it this way: http://www.sitepoint.com/forums/showthread...goto=nextoldest
You may need to change some info to suit your site
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.