首页 >php教程 >php手册 >模拟OICQ的实现思路和核心程序三转--建议加入精华区

模拟OICQ的实现思路和核心程序三转--建议加入精华区

WBOY
WBOY原创
2016-06-13 10:24:59874浏览

文章来源:php世纪网 5 聊天信息的发送、阅读和回复程序 - shortalk.php require("require.php"); // 判断用户是否合法在线的公用程序 ?>

短信息 if($action == "view") { $tmp = mysql_fetch_array(mysql_query("select sender,body,date from forumtalk where id=$talknumber and receiver=$name")); $msg = $tmp[body]; $message = ereg_replace(" "," ",$msg); mysql_query("update forumtalk set readsign=1 where id=$talknumber"); $sendernickname = mysql_fetch_row(mysql_query("select nickname from userinfo where name=".$tmp[sender]."")); ?>
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn