AJAX+PHP+MYSQL聊天室

时间:2010-07-13 03:51:23
【文件属性】:
文件名称:AJAX+PHP+MYSQL聊天室
文件大小:103KB
文件格式:RAR
更新时间:2010-07-13 03:51:23
AJAX聊天室,聊天室 AJAX driven simple chat
Detailed description:
This class can be used to implement a simple Web based chat system that uses AJAX to update the chat dialog display area without reloading the whole page.
这类可以用来实现基于聊天系统的简单网络。此聊天系统使用AJAX更新闲谈对话显示区而无需重新调入页面
The class generates a page with a Web form to submit what each chat line that the users type.
这类产生 Web form形式的网页
The chat lines are sent to the server using a XMLHttpRequest object.
使用XMLHttpRequest对象将chat lines发到服务器
The chat lines are received by a server side script that uses the class to store what each user entered in a MySQL database table.
服务器端接受了chat lines,并用它来储存用户送进MySQL数据库表的数据。
In response, the class outputs the chat list already formatted to by displayed in the user browser pages.
相应地,在用户浏览网页时,它输出已经被格式化显示的的聊天列表。
【文件预览】:
AJAX driven simple chat
----chat.sql(527B)
----index.php(69B)
----chat.jpg(50KB)
----submit.php(201B)
----chat.php(3KB)
----index.jpg(63KB)
----refresh.php(189B)
----使用说明1.txt(935B)

网友评论

  • 好用好用,谢谢
  • 太简单了吧
  • 不是很好用 很简单的一个聊天室架构
  • 不好用,有待提高
  • 很简单的一个聊天室架构,适合初学者了解
  • 很简单,不是自己想要的,不过实现思路值得学习
  • 中文显示乱码
  • ,也不算复杂,新手还是能学到一点东西的
  • 不错 适合初学者
  • 还可以,功能还需要完善。谢谢
  • 结构很简单,是最初级的聊天室,仅供学习
  • 代码简易明了,不过无CSS样式,html是在php中直接套用的
  • 不错的,适合初学者
  • 看了一下,适合初学者,很有启发性