Graf Makus
-
2003-08-27
- milestone: 286571 --> v0.9
I see my count is 37, but awstats say that i was the
only visitor today. Count the useronline function false?
function useronline () {
$n_now = time ();
$sql = "select * from syslog WHERE TIME > ( $n_now -
$this->useronline_expire) GROUP by SESSION";
$result = $this->database->query($sql);
if (DB::isError($result)) {
die ($result->getMessage());
}
$count = $result->numrows();
return $count;
}