Location: PHPKode > projects > ACollab > chat/bing.php
<?php
	require('include/vitals.inc.php');
	$chatID	 = $_GET['chatID'];
	$uniqueID= intval($_GET['uniqueID']);

	$myPrefs = getPrefs($_GET['chatID']);

	howManyMessages(&$topMsgNum, &$bottomMsgNum);

	if ($myPrefs['lastChecked'] < $topMsgNum && $myPrefs['lastRead'] < $topMsgNum) {
		$prefs['lastChecked'] = $topMsgNum;
		writePrefs($myPrefs, $chatID);
		print "yes\n";
	}
	print "$topMsgNum $myPrefs[lastChecked] $myPrefs[lastRead] \n";
?>
Return current item: ACollab