范文写作网 > 计算机网络毕业论文 > > BBS系统的设计与实现PHP+SQL
计算机网络毕业论文

BBS系统的设计与实现PHP+SQL

摘要:毕业论文 基于Web的BBS的设计与实现 摘要:网上电子公告系统是互联网络服务功能的重要组成部分,它为上网的用户开辟了1块园地,使网友们自由发表意见,互相交流,加强了用户对网站的凝聚力,对提高网站的访客量,扩大影响力产生良好的作用。 BBS技术是在研究
关键词:BBS,系统,设计,实现,PHP+SQL,毕业论文,基于,W

青楼十三坊,个性字转换,贝琪雅

毕业论文

基于Web的BBS的设计与实现
 

摘要:网上电子公告系统是互联网络服务功能的重要组成部分,它为上网的用户开辟了1块园地,使网友们自由发表意见,互相交流,加强了用户对网站的凝聚力,对提高网站的访客量,扩大影响力产生良好的作用。
BBS技术是在研究实现互联网络人机对话的基础上发展起来的。早期的Internet只有信息发布功能,而不能与用户直接交流,为了获得客户的反馈信息,通过采用FORM和CGI等技术解决了人机对话问题,随后稍经改进,使有两人或两人以上同时与机器进行交流时,这些处在不同地方的用户就可以利用机器作“中转站”,实现人与人之间的异地交谈,逐渐发展成为BBS系统。
本设计在Windows环境下应用PHP语言与MYSQL数据库管理系统,设计开发了1个基于Web的BBS系统,从而实现了电子公告板具有用户注册、发表文章、阅读文章、回复文章等功能。其中以程序设计与编码为重点,从系统的调试与运行环境、系统功能、系统设计与实现等几个方面,探讨了如何用PHP和MYSQL数据库制作网上论坛,并对本设计中所用到的语言和数据库技术以及所选服务器的特点进行了讨论。
关键词:电子公告;数据库;PHP;安全


The Design and Implement of BBS Based on Web
 

Abstract:The Bulletin Board system of internet,which opens up a new field of consumers of internet,is an important component section of the service function of the internet.Ciber friends can communicate with each other by the way of giving ideas freely through the system,which makes good effects in strengthening the concentration of the internet consumers,enlarging the numbers of net consumers and expanding the influences.
The technology of  BBS develops on the basis of researching the conversation between human beings and internet,which in earlier period can only bulletin the imformation but not directly communicate with the consumers.In order to gain the imformation feeding back from the consumers,the conversation between human beings and internet realizes the function by using some technologies of Form,CGI,etc,which are improved later.Then the consumers in different areas can use the internet as a transfer to realize the conversation among different areas when two persons or more communicate with the internet at the same time.At last,it develops to be BBS.
This design applies the PHP Language and MYSQL database ,management system under the windows environment designing and exploring a BBS on the basis of web,and realizes many functions of bulletin board,such as consumer registration,publishing articles,reading articles,answering messages,and so on.The BBS takes the designing procedures and coding as the focal points ,then discusses how to use PHP and MYSQL database to make BBS of internet and the characteristics of the language database technology and the selected server in this design from the adjustment of the system and the running environment,the function of system,the design and realizeation of the system.
Keywords:bulletin board;database;PHP;safety
目录
1 绪论 1
1.1 开发背景 1
1.1.1 Internet以及Web技术的发展 1
1.1.2 BBS简介及其功能 1
1.2 国内外研究现状 2
1.3 论文组织与结构 5
2 系统分析 6
2.1 开发工具简介 6
2.1.1 PHP技术 6
2.1.2 服务器技术 7
2.1.3 数据库技术 8
2.2 基于Web的通用BBS系统技术可行性分析 11
2.3 系统的综合要求 12
2.3.1 系统界面要求 12
2.3.2 系统功能要求 13
2.3.3 系统性能要求 13
2.3.4 安全性、保密性、可靠性等其它方面的要求 13
2.4 系统的数据元素 13
2.4.1 会员 13
2.4.2 管理员 13
2.4.3 论坛 14
2.4.4 版面 14
2.4.5 帖子 14
2.4.6 友情链接 14
2.4.7 日志 14
2.5 系统的逻辑模型 16
2.5.1 游客用户与信息处理系统 16
2.5.2 会员用户与信息处理系统 17
2.5.3 版主与信息处理系统 18
2.5.4 管理员与信息处理系统 18
3 系统概要设计 20
3.1 数据结构的设计 20
3.2 系统结构的设计 23
4 系统详细设计 27
4.1 基本算法 27
4.1.1 系统主页面Index.php 27
4.1.2 各级别用户私有功能的实现方法27
4.1.3 各级别用户公有功能的实现方法 27
4.1.4 会员用户积分的计算模型 27
4.1.5 版主申请条件以及计算模型 27
4.1.6 超文本信息输入 28
4.2 BBS具体实现 28
4.2.1 普通用户登录验证模块 28
4.2.2 游客注册模块 31
4.2.3 普通用户浏览模块 33
4.2.4 普通用户添加模块 34
4.2.5 管理员用户管理模块 37
5 系统测试 42
5.1 运行环境 42
5.1.1 硬件环境 42
5.1.2 软件环境 42
5.2 测试结果 42
5.3 测试维护 42
总结和展望 43
参考文献 44
致谢 45


 
1 绪论
1.1 开发背景
1.1.1 Internet以及Web技术的发展
Internet起源于20世纪60年代末、70年代初,当时,美国国防部为了将充斥于军事基地内各种厂商的电脑主机互连,让它们可以进行数据交换以便研究工作顺利进行,于是成立了ARPA网络计划。ARPA计划尝试建设1个网络系统,它可将各种不同厂商的电脑连接起来。随着这个计划的成功,各学术单位,研究机构也纷纷与ARPA计划所建立的ARPANet连接。到了20世纪80年代,Internet这个名词因势产生,它代表着这10年来所构建涵盖全球各地的网络系统。从1990年起,商业使用的Internet在美国急速地扩大,而Internet也从原来属于少数人使用的网络系统转变为普通百姓也能够使用的网络系统。
最初的Internet资源服务都还停留在文本模式,***年,量子物理实验室(CERN)下的1个研究小组着手开发1种全新的Internet服务,它可以在网络上传送图片、文本、影像、声音等多媒体数据。于是由Tim Berners Lee领导的小组开发出了1种主从、分布式的网络服务系统,这就是WWW,俗称“万维网”。
所谓WWW其实就是连上Web服务器访问资源,取得的内容就是所谓的“主页”(HomePage)。进入的网页通常不会只有1页,而是整个网站的内容。
“网站”是1种呈现在网络上的新兴媒体,通过Internet已经成为1个实时的,多媒体的信息传播渠道。它的载体主要是电脑,范围覆盖全球各地,没有国界,不分人种,时时刻刻地提供服务。目前,人们渐渐开始把网站称之为广播、电视、报刊以外的第4新闻媒体,以“共享、公平、公正、创新、国际化、团队精神”为特征的网络文明也已逐渐成为这个时代的标志,人们越来越习惯于通过Internet网络获取信息,通过Internet在网站上发表自已对社会对生活的理解和建议
1.1.2 BBS简介及其功能
(1)BBS简介
BBS是英文Bulletin Board System的缩写,中文意思是“电子布告栏系统”或“电子公告版系统”,1般简称为BBS。它是1种面向文本的交互式综合性信息服务系统,为网络用户进行网上交谈、发布消息、讨论问题、传送文件、游戏娱乐等提供了方