基于PHP的聊天室系统的设计与实现(MySQL)

以下是资料介绍,如需要完整的请充值下载. 本资料已审核过,确保内容和网页里介绍一致.  
无需注册登录,支付后按照提示操作即可获取该资料.
资料介绍:

基于PHP的聊天室系统的设计与实现(MySQL)(任务书,外文翻译,毕业论文12000字,程序代码,MySQL数据库,答辩PPT)
摘  要
在当今网络风行的社会里,上网成为越来越多的人们的选择。网络突飞猛进的发展致使聊天室的出现和迅速的发展,而网上聊天也必然成为网民不可少的一部分。聊天室作为一个能够吸引人气的栏目,在现代网络应用中随处可见。它的作用是给不同的用户提供一个交流信息的场所。同时聊天室也大大节省了人们的书信量和电话量。所以,开发一个跨越时间和空间上的限制的网上聊天室是形势所在。
网上聊天室系统作为一种方便人们与人们之间联系的使用系统便应运而生。网上聊天系统是人们进行交流和联系提供的一个平台。通过提供完善的网上聊天系统的管理,可以达到增进人们之间的交流和联系的目的。
本设计主要介绍了聊天室的开发背景、环境和意义,阐述了该网站式聊天室的实现过程以及该系统数据库的设计实现过程。通过国内外一些网上聊天室的分析,得出了通过PHP等技术来实现一个网站式聊天室的方案。其主要是通过PHP技术相关的基础知识,如通过对PHP的脚本语言、PHP的内置对象、PHP与数据库的连接等技术的分析,探讨了建立聊天室的设计思想、方法及设计过程,详细地分析了各个模块的功能及实现方法。其也具有一定可行的实用性,主要实现的功能有:用户登录、用户私聊、公聊、用户留言、保存当前聊天记录、查看以及修改个人信息、改变字体大小等。作为后台的服务器数据库采用了MYSQL;采用的开发工具与技术有:APACHE、PHPMYADMIN、HTML、PHP等。该聊天室的操作界面简单方便,易于用户操作,基本达到预期效果。
关键词:PHP,聊天室,Apache,数据库,HTML

Design and production about Chatting Room
Abstract
In today's popular social network, the Internet became more and more people's choice. Resulted in the rapid development of Internet chat rooms and the emergence and rapid development, and chatting online is bound to become an in dispensable part of Internet users. Chat rooms as a part to attract popular in modern web applications everywhere. Its role is to provide a different place for the exchange of information. Chat rooms while also greatly save the amount of people's letters and phone volume. Therefore, the development of a across time and space constraints on the online chat room is where the situation.
Chat room system as a convenient link between the people and the people using the system have come into being. Online chat system to communicate and contact people to provide a platform. By providing comprehensive management of the Internet chat system, can achieve to promote exchanges and contacts between people of purpose.
This design introduces the development background of the chat room, the environment and the significance, set out the implementation of web-based chat room and the system database during the design and implementation process. Some online chat rooms by domestic and international analysis, obtained by PHP and other technologies to implement a web-based chat room program. Which is mainly related to technology Tong guo basic knowledge of PHP, such as through scripting languages PHP, PHP's built object, PHP and database connections and other technologies, discusses Jian li chat room design ideas, methods and design process, detailed Analysis of the function of each module and its realization. It also has some practical relevance, the main achievement of the features are: user login, user private chat, public chat, user messages, save the current chat, view and modify personal information, change the font color and so on. As a background server database using the MYSQL; use development tools and technologies: APACHE, PHPMYSQL, HTML, PHP and so on. The chat room's user interface is simple and convenient, easy-to-user operation, the basic desired effect.
Key Words:PHP,Chatting Room,APACHE,Database,HTML

系统功能模块划分设计
本系统分为登录功能、聊天室设定功能、用户设定功能和系统设定功能。如图3.1。
 
功能描述
(1)用户登录
已经注册的用户输入用户名和密码,正常登录服务器。登录未能完成,将会在客户端中登录界面显示相应的错误信息,例如:用户名或密码错误等。登录过程中提交的用户名和加密后的密码分别提交。
(2)修改个人资料
用户点击个人资料,在里面用户可以查看及修改个人的信息;如:昵称、密码等。
(3)在线聊天
主界面中集中了在线聊天的相关功能,其中有支持表情的文本聊天以及发送图片功能等。
(4)清屏
将主界面中的对话信息清除掉。
(5)字体大小设置
用户通过这些按钮可修改字体的大小以符合自己的需要。
(6)发送表情
用户之间可传送表情来表达心情。
(7)字体设置
用户可以根据自己的需要对字体进行加粗、斜体、删除线和下划线的设置。
(8)查看所有聊天内容
显示、公共频道和私聊的聊天记录。
(9)摇一摇
随机选取用户进行私聊。
 

基于PHP的聊天室系统的设计与实现(MySQL)
基于PHP的聊天室系统的设计与实现(MySQL)
基于PHP的聊天室系统的设计与实现(MySQL)


目   录
引言    1
第一章  概述    2
1.1 开发背景    2
1.2 开发意义    2
第二章  系统开发环境及技术综述    4
2.1 软件环境    4
2.2 PHP简介    4
2.3 MYSQL简介    6
第三章  系统需求分析    8
3.1 系统功能分析    8
3.2 系统功能需求    8
3.2.1系统功能模块划分设计    8
3.2.2功能描述    9
3.3 性能需求    9
3.3.1准确性    10
3.3.2时效性    10
3.3.3时间特性    10
3.4 系统性能需求    10
3.4.1操作可行性    10
3.4.2技术上的可行性    11
3.5系统设计目标    11
第四章  系统总体设计    12
4.1 功能设计    12
4.2 系统流程图设计    13
4.2.1用户登录    13
4.2.2用户管理    14
4.2.3消息传输    14
第五章  数据库设计    15
5.1 数据库需求分析    16
5.2 数据库的概要设计    16
5.3 数据库详细设计    17
5.3.1 数据库逻辑结构    17
5.3.2 数据表结构的详细设计    17
第六章  系统的开发与实现    19
6.1 开发环境    19
6.1.1硬件环境    19
6.1.2软件环境    19
6.2 客户端系统的功能的实现    20
6.2.1用户登录、注册模块的实现    20
6.2.2即时通讯消息处理    23
6.2.3清屏模块的实现    24
结  论    25
参考文献    26
谢  辞    27
附录    28