【PHP开源代码栏目提醒】:网学会员PHP开源代码为您提供毕业设计论文-居民户籍管理系统(含代码) - 毕业设计参考,解决您在毕业设计论文-居民户籍管理系统(含代码) - 毕业设计学习中工作中的难题,参考学习。
摘 要 随着时代的发展、科学的进步,信息时代已经遍布全球,计算机已广泛地深入各行各业,起着越来越巨大的作用。
它运算速度快,体积小,可靠性高,通用性与灵活性强,以及很高的性能价格比等特点,把人们带入了一个一切都离不开计算机的新时代。
近年来,随着计算机技术的发展和互联网时代的到来,我们已经进入了信息时代,随着人口的不断增长,户籍管理部门也应得到良好的发展,利用现代化管理工具使其变成半自动化必定会使工作效率得到很大的提高。
户籍管理系统是针对户籍管理部门而开发的。
传统的管理方式,在处理人口信息时仍需要手动操作,不仅速度缓慢效率低下,而且容易造成数据的丢失,给查询工作带来极大的不便户籍管理系统就是针对这一现象而设计的。
通过本系统,可以让户籍管理部门提高工作质量和效率,从而达到更快捷、更准确、更方便的目的。
户籍管理系统是典型的信息管理系统MIS其开发主要包括后台数据库的建立和维护以及前端应用程序的开发两个方面。
对于前者要求建立起数据一致性和完整性强、数据安全性好的库。
而对于后者则要求应用程序功能完备易使用等特点。
该系统中主要包括户籍管理、查询修改、系统用户管理、用户信息维护。
其中户籍管理模块的功能有:对户口表、人口表等作为构成户籍档案管理最基本项的表进行增加、查询、修改、删除等操作;系统管理模块的功能:这个模块从本质上来讲,当然应该只有管理员才有权使用,这个模块能够实现新用户的增加、已有用户的查找、已有用户的删除、已有用户的信息维护、注销不再使用的用户等功能;查询修改模块的功能,这个模块是本系统中相对来讲最大也是最麻烦的,它包含三个方面的功能实现:即查询、修改户口和人口信息内容、注销户籍信息。
系统能按户口号、身份证号码进行精确查询,分别按照姓名、曾用名、族别、出生日期等个人信息进行模糊查询,并把查询的结果显示在表格中.以上各模块通过有机的整合到一起形成一个功能完善的系统。
进过了一段时间的调查分析和对比,我决定使用功能强大近年来迅速发展壮大的
php作为开发语言。
PHP,是英文超级文本预处理语言 Hypertext Preprocessor 的缩写。
PHP 是一种 HTML 内嵌式的语言,是一种在服务器端执行的嵌入 HTML 文档的脚本语言,语言的风格有类似于 C 语言,被广泛的运用。
PHP 的另一个含义是:菲律宾比索的标准符号。
代码编辑工具我选择的是 Dreamweaver。
Dreamweaver 是美 MACROMEDIA 公司开发的集网页制作和管理网站于一身的所见即所得网页编辑器,它是第一套针对专业网页设计师特别发展的视觉化网页开发工具,利用它可以轻而易举地制作出跨越平台限制和跨越浏览器限制的充满动感的网页。
数据库方面,我选择的是 mysql。
在众多的数据库产品中,与
php 搭配使用最好的选择无疑是 MySQL 了。
MySql 是一个快速、多线程、多用户的 SQL 数据库服务器,其出现虽然只有短短的数年时间,但凭借着“开放源
代码”的东风,它从众多的数据库中脱颖而出,成为
PHP 的首选数据库。
其次,MySQL 还是与
php 是所有数据库中融合性最好的。
当然,要开发出一个完整的系统,仅有以上工具还是行不通的。
因为我们还需要一个开发平台——wamp。
严格的说来 wamp 不应该是一个而是一组工具。
他是 Windows 下的ApacheMysqlPerl/
PHP/Python 的一个组合包,常用来搭建动态网站或者服务器的
开源软件,本身都是各自独立的程序,但是因为常被放在一起使用,拥有了越来越高的兼容度,共同组成了一个强大的 Web 应用程序平台。
除了以上所说之外,开发过程中还涉及到一些其他的 web 程序设计方面的知识。
HTML那就不用说了,他是构成我们文档的主要语言。
在当今脚本盛行的时代,JavaScript 的使用固然也是必不可少的了。
他能比较轻松的实现页面中表单的验证,把一部分工作交给客户端来处理,能够有效的提高服务器的运行效率。
当然,为了页面看起来更加的美观,CSS的使用也是必不可少的。
基于以上技术的支持,已经可以完成系统的设计了。
关键词 :
php MySQL 信息管理系统 户籍管理 Abstract With the development of times scientific progress the information age has been all overthe world the computer has been widely variety of fields playing an increasingly significant role. Its fast speed small size high reliability versatility and flexibility and high cost performanceetc. all the people can not be separated into the one computer in the new era. In recent years with the development of computer technology and the Internet era wehave entered the information age with continued population growth household managementshould also be a good development use of modern management tools will make it into asemi-automatic efficiency will be greatly improved. Household registration system is for household management and development. Traditionalmanagement approach dealing with demographic information in the manual still needs time notonly slow and inefficient and prone to cause data loss to check the work of great inconveniencehousehold registration management system is designed to address this phenomenon while.Through this system household management can improve quality and efficiency so as toachieve faster more accurate and more convenient purpose. Household registration system is a typical management information system MIS whichmainly includes the establishment and maintenance of the background database and front-endapplication development aspects. The former required strong data consistency and integrity ofthe data with good security. For the latter application powerful easy to use and so on. The system includes household management query modification the system usermanagement user information maintenance. One household registration managementmodule functions: on the accounts table the population tables and other householdregistration records management as a basic item constitute the table to increasethe numbers query modify and delete operations system management modulefunctions: This module essence of course Only administrators should have theright to use this module to achieve the increase in new users existing users tofind remove existing users existing users of information maintenancecancellation of the user no longer functions query modification module functionthis module is the systems largest and most troublesome relatively speakingit consists of three functional areas to achieve: that query modify the contentsof household and demographic information household registration cancellationinformation. Systems by account number ID number to accurately checkrespectively by name previous names race date of birth and other personalinformation of fuzzy query and the query results displayed in the table. Moreorganic integration of the modules through together to form a functional system. After a period of time into the investigation and comparison I decided to usethe powerful
php development and growth rapidly in recent years as a developmentlanguage.
PHP hypertext preprocessing language is English abbreviation forHypertext Preprocessor.
PHP is an HTML embedded language is a server-sideimplementation of the HTML document embedded scripting language the languagestyle is similar to the C language is widely used. Another implication is
PHP:Philippine peso standard symbols. Code editing tool I chose Dreamweaver. MACROMEDIA Dreamweaver is developedby the United States set the production and management of web sites in a WYSIWYGpage editor it is the first of a special development for the professional webdesigner visual web development tool using it can easily produce cross platformcross browser limitations and restrictions on dynamic web pages. Database I chose mysql. In many database products and
php with the best option is the useof MySQL the. MySql is a fast multi-threaded multi-user SQL database server although itappears only a few short years but with the quotopen sourcequot of the east it stands out from many ofthe database as the database of choice for
PHP . Second MySQL is a database with
php fusionof all the best. Of course to develop a complete system only the above tools or does not work. Becausewe also need a development platform - wamp. Strictly speaking should not be a wamp but a setof tools. He is the Windows under the Apache Mysql Perl /
PHP / Python in a combinationpackage often used to build dynamic Web site or server open source software itself a separateprogram but because often used together with the higher and higher compatibility togetherconstitute a powerful Web application platform. Addition to the above the development process also involves a number of other webprogramming knowledge. HTML would not say he is the main language constitute our document.Prevalent in todays era of the script JavaScript is of course essential to use a. He can moreeasily realized in the form of the verification page it part of the work to the client to handle caneffectively increase server efficiency. Of course the page seems to be more of Micron CSS useis also essential. Key Word:
php、MySQL、MIS 、Household Management 第 1 章 概述1.1 开发工具 1.1.1、Wamp Windows 下的 ApacheMysqlPerl/
PHP/Python,一组常用来搭建动态网站或者服务器的
开源软件,本身都是各自独立的程序,但是因为常被放在一起使用,拥有了越来越高的兼容度,共同组成了一个强大的 Web 应用程序平台。
随着
开源潮流的蓬勃发展,开放源
代码的 LAMP 已经与 J2EE 和.Net 商业软件形成三足鼎立之势,并且该软件开发的项目在软件方面的投资成本较低,因此受到整个 IT 界的关注。
1.2 Windows 下 Wamp 的安装与配置 1.2.1 设置 phpmyadmin 在 WampServer 安装完成后,通过 http://localhost/打开后可以看到 WampServer 自带的一个简单的页面,里面有 phpinfo、phpmyadmin 和 sqlitemanager 三个工具。
打开 phpmyadmin 会在下方看到提示,root 用户没有设置密码,我们先为 root 帐户设置密码。
点击 phpmyadmin 页面中部的“权限”,可以看到“用户一览”,这时候应该只有一 即行用户信息, root localhost 这一行,点击这一行最右侧的编辑权限图标,在新页面找到“更改密码”,为 root 用户设置密码,并点击“执行”。
然后刷新页面,会看到错误提示,这是因为帐户已经设置密码,到 WampServer 程序安装目录,在 apps 目录找到 phpmyadmin 的目录,打开 phpmyadmin 目录里面的 config.inc.
php 文件,找到下面这一行: cfgServersipassword 在等号右面的单引号里面输入刚才设置的密码,重新打开 phpmyadmin 的页面并刷新,这时候 phpmyadmin 就可以正常访问了。
好了,我已经用 WampServer 简单的架设起一个 Apache
PHP MySQL 的服务器了。
1.2.2 允许外网访问 wamp 默认是禁止外网访问 APACHE 的,左键点击右下的 wamp 图标 Apache -httpd.conf ,搜索关键字 quotdeny from quot,会发现一处 quotdeny fromquot将其下的一行quotAllow from127.0.0.1quot 之前加一个 号,表示注释掉,新插入一行,手动输入 Allow from all 。
保存,重新启动下 apache 服务就可以允许外网访问了。
1.2.3 apache mysql 服务的开机自动运行Windows - 开始 - 设置 - 控制面板 - 管理工具 - 服务,找到 wampmysqld wampapache将 quot启动类型quot 由quot手动quot 改为quot自动quot 即可。
1.2.4 开启支持 rewrite module LoadModule rewrite_module modules/mod_rewrite.so 去前面掉,修改为LoadModule rewrite_module modules/mod_rewrite.soltDirectory /gtOptions FollowSymLinksAllowOverride None 修改为 AllowOverride All Order denyallowDeny from allSatisfy alllt/DirectorygtltDirectory quotd:/wamp/www/quotgt Possible values for the Options directive are quotNonequot quotAllquot or any combination of: Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews Note that quotMultiViewsquot must be named explicitly --- quotOptions Allquot doesnt give it to you. The Options directive is both complicated and important. Please see http://httpd.apache.org/docs/2.2/mod/core.htmloptions for more information.Options Indexes FollowSymLinks AllowOverride controls what directives may be placed in .htaccess files. It can be quotAllquot quotNonequot or any combination of the keywords: Options FileInfo AuthConfig LimitAllowOverride None 修改为 AllowOverride All Controls who can get stuff from this server.Order allowdenyAllow from alllt/Directorygt1.2.5
php 配置查找 short_open_tag Off,把 off 改成 On,注意是前面没有号的那一排。
memory_limit 128M最大内存使用,运行程序提示内存不足时可修改其大小upload_max_filesize 2M 附件大小、对于中文用户来说,安装结束后,首先要设置的 把是, MySQL 的数据库默认编码改为 UTF-8, 在 这样可以排除很多中文乱码问题: WAMP5菜单中选择打开 mywamp.ini,设置其中的 default-character-setutf8 然后重启 WAMP5。
1.2.6 MySQL 数据库的设置 数据库默认的密码是空的,可以在 phpMyAdmin 中设置 root 帐号的密码为123456;当然修改之后,就要跟着修改 phpMyAdmin 的配置文件 config.inc.
php,否则 phpMyAdmin就进不了数据库啦:cfgServersiuser rootcfgServersipassword 1234561.3 Dreamweaver1.3.1 Dreamweave 简介 Dreamweaver 是美国 MACROMEDIA 公司开发的集网页制作和管理网站于一身的所见即所得网页编辑器,它是第一套针对专业网页设计师特别发展的视觉化网页开发工具,利用它可以轻而易举地制作出跨越平台限制和跨越浏览器限制的充满动感的网页。
Dreamweaver、FLASH 以及在 DREAMWEAVER 之后推出的针对专业网页图像设计的 FIREWORKS,三者被 MACROMEDIA 公司称为 DREAMTEAM梦之队,足见市场的反响和 MACROMEDIA 公司对它们的自信。
说到 DREAMWEAVER 我们应该了解一下网页编辑器的发展过程,随着互联网Internet 的家喻户晓,HTML 技术的不断发展和完善,随之而产生了众多网页编辑器,从网页编辑器基本性质可以分为所见即所得网页编辑器和非所见即所得网页编辑器(则原始
代码编辑器),两者各有千秋。
所见则所得网页编辑器的优点就是直观性,使用方便,容易上手,您在所见即所得网页编辑器进行网页制作和在 WORD 中进行文本编辑不会感到有什么区别,但它同时也存在着致命的弱点:1.3.2 Dreamweaver 的优点 1) 最佳的制作效率 Dreamweaver 可以用最快速的方式将 Fireworks,FreeHand,或 Photoshop 等档案移至网页上。
使用检色吸管工具选择荧幕上的颜色可设定最接近的网页安全色。
对于选单,快捷键与格式控制,都只要一个简单步骤便可完成。
Dremweaver 能与您喜爱的设计工具,如Playback Flash,Shockwave 和外挂模组等搭配,不需离开 Dreamweaver 便可完成,整体运用流程自然顺畅。
除此之外,只要单击便可使 Dreamweaver 自动开启 Firework 或 Photoshop来进行编辑与设定图档的最佳化。
2) 网站管理 使用网站地图可以快速制作网站雏形、设计、更新和重组网页。
改变网页位置或档案名称,Dreamweaver 会自动更新所有连结。
使用支援文字、HTML 码、HTML 属性标签和一般语法的搜寻及置换功能使得复杂的网站更新变得迅速又简单。
3)无可比拟的控制能力 Dreamweaver 是唯一提供 Roundtrip HTML、视觉化编辑与原始码编辑同步的设计工具。
它包含 HomeSite 和 BBEdit 等主流文字编辑器。
Dreamweaver 还集成了程序开发语言,对 ASP、.NET、
PHP、JS 的基本语言和连接操作数据库,都是完全支持的。
1.3.3 Dreamweaver 的缺点 1 难以精确达到与浏览器完全一致的显示效果。
2页面原始
代码的难以控制性,比如您在所见即所得编辑器中制作一张表格也要几分钟,但您要它完全符合您要求可能需要几十分钟,甚至更多时间。
1.4
PHP 简介
PHP,是英文超级文本预处理语言 Hypertext Preprocessor 的缩写。
PHP 是一种 HTML内嵌式的语言,是一种在服务器端执行的嵌入 HTML 文档的脚本语言,语言的风格有类似于 C 语言,被广泛的运用。
PHP 的另一个含义是:菲律宾比索的标准符号。
1.4.1
php 的功能
PHP 独特的语法混合了 C、Java、Perl 以及
PHP 自创新的语法。
它可以比 CGI 或者 Perl 更快速的执行动态网页。
用
PHP 做出的动态页面与其他的编程语言相比,
PHP是将程序嵌入到 HTML 文档中去执行,执行效率比完全生成 HTML 标记的 CGI 要高许多;
PHP 还可以执行编译后
代码,编译可以达到加密和优化
代码运行,使
代码运行更快。
PHP具有非常强大的功能,所有的 CGI 的功能
PHP 都能实现,而且支持几乎所有流行的数据库以及操作系统。
1.4.2
php 的发展
PHP 最初是1994年 Rasmus Lerdorf 创建的,刚刚开始只是一个简单的用 Perl 语言 编写的程序,用来统计他自己网站的访问者。
后来又用 C 语言重新编写,包括可以访 问数据库。
在1995年以 Personal Home Page Tools
PHP Tools 开始对外发表第一个版 本,Lerdorf 写了一些介绍此程序的文档,并且发布了
PHP1.0。
在1995年中,
PHP2.0发布了。
第二版定名为
PHP/FIForm Interpreter。
PHP/FI 加入了对 mySQL 的支持,从此建立了
PHP 在动态网页开发上的地位。
在1997年中,开始了第三版的开发计划,开发小组加入了 Zeev Suraski 及 Andi Gutmans,而第三版就定名为
PHP3。
2000年,
PHP4.0又问世了,其中增加了许多新的 特性。
在2000年5月22日,以 Zend Engine 1.0为基础的
PHP 4正式释出,2004年7 月13日则释出了
PHP 5,
PHP 5则使用了第二代的 Zend Engine5。
2008年
PHP 5 成为了
PHP 唯一的有在开发的
PHP 版本。
PHP 6 的开发也正在进行中,主要的改进有移除 register_globals、magic quotes 和 Safemode 的功能。
1.4.3
php 的特性
PHP 的特性包括: 开放的源
代码:所有的
PHP 源
代码事实上都可以得到。
PHP 是免费的。
php 的便捷性 :
php 十分便捷,学习简单 基于服务器端:由于
PHP 是运行在服务器端的脚本可以运行在 UNIX、LINUX、WINDOWS 下。
嵌入 HTML:因为
PHP 可以嵌入 HTML 语言,所以学习起来并不困难。
简单的语言:
PHP 坚持脚本语言为主,与 Java 和 C不同。
效率高:
PHP 消耗相当少的系统资源。
图像处理:用
PHP 动态创建图像 面向对像:在
php4
php5 中,面向对象方面都有了很大的改进,现在
php 完全可以用来开.
上一篇:
开源WebGIS技术在城市灾害研究中的应用——以上海市为例
下一篇:
10例恶性黑色素瘤临床病理与治疗的临床研究