Просмотр файла gchat/check_new_msgs.php
<?php if (empty ($_GET['last_msg_time']) OR empty ($_GET['room'])) { echo 0; exit (); } $room = intval ($_GET['room']); $last_msg_time = intval ($_GET['last_msg_time']); $result = file_get_contents ("http://globalscripts.ru/gchat/check_new_msgs.php?last_msg_time=$last_msg_time&room=$room"); echo $result; if (empty ($result)) echo 0;