简介:这是聊天室php的详细页面,介绍了和php,有关的知识、技巧、经验,和一些php源码等。
class='pingjiaf' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=323794' scrolling='no'> //第二页面 name=frame2. php
include ../signup/ mysql. php;
header(expires: sun, 28 dec 1997 09:32:45 gmt);
header(cache-control: no-cache, must-revalidate);
header(pragma: no-cache);
header(content-type: text/html; charset=${charset});
$current_time=time();
$delete_time=$current_time-40;
$sql=delete from chat_user where last_time mysql_query($sql)or die( false again);
$sql=update chat_user set last_time='$current_time' where userid='$userid';
mysql_query($sql) or die(false);
$sql=select userid from chat_user;
$result=mysql_query($sql)or die(fallse);
$online=mysql_num_rows($result);
?>
user list