Просмотр файла fnc/chat_chatchatst.php
<? session_start(); if(trim($_SESSION['chat_st'])!=""){$_SESSION['chat_st']=trim(htmlspecialchars($_SESSION['chat_st']));} $chat_xfile = @file("../data/chat_base.dat"); $chat_st=count($chat_xfile); if($_SESSION['chat_st'] != $chat_st){echo'1'; unset($_SESSION['chat_st']); $_SESSION['chat_st']=$chat_st;}else{echo'0';} ?>