please consider the environment... only print this page if you really need to
please consider the environment... only print this page if you really need to (
$to_secs = 300;
$t_stamp = time();
$timeout = $t_stamp - $to_secs;
//mysql_db_query($db, "INSERT INTO CJ_UsersOnline VALUES ('$t_stamp','$REMOTE_ADDR','$PHP_SELF')") or die("Database INSERT Error");
//mysql_db_query($db, "DELETE FROM CJ_UsersOnline WHERE timestamp<$timeout") or die("Database DELETE Error");
//$result = mysql_db_query($db, "SELECT DISTINCT ip FROM CJ_UsersOnline") or die("Database SELECT Error");
echo $user = mysql_num_rows($result);
?>
)