I'm write Accounts online statistic for WebPage.
Simply add sql query, attached in message to GunzDB. It's create new table "UsersOnline" and update Stored Procedures "spUpdateAccountLastLogoutTime" and "spUpdateLastConnDate".
In php script paste something like this:
PHP Code:
$query = mssql_query("SELECT UserID FROM UsersOnline ORDER by UserID");
$UsersOnline="";
while($row = mssql_fetch_assoc($query)) {
$UsersOnline.=$row[UserID]."<BR>";
}
echo $UsersOnline;
One thing: when server restart you need clear table "UsersOnline".