function getChatters()
{
$chat_data_path = "http://host7150.123flashchat.com/123love/manager/data/";
$room = array();
$room['connections'] = 0;
$room['logon_users'] = 0;
$room['room_numbers'] = 0;
$online_file = "http://host7150.123flashchat.com/123love/manager/data/online.txt";
if (!file_exists($online_file))
{
return $room;
}
if (!$row = file($online_file))
{
return $room;
}
$room_data = explode("|", $row[0]);
if (count($room_data) == 3)
{
$room['connections'] = intval($room_data[0]);
$room['logon_users'] = intval($room_data[1]);
$room['room_numbers'] = intval($room_data[2]);
}
return $room;
}
echo $room['connections'];
?>