Initial commit master
BIGMAN 2 years ago
parent 9cd514bfbf
commit 7639bd967a
  1. 22
      README.md

@ -28,9 +28,9 @@ This article first introduced operationprinciple of the ASP technology, the work
处理流程如下图:
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/bbc8acc7b6233a4d15b2356e6e2b5224.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/bbc8acc7b6233a4d15b2356e6e2b5224.writebug)
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/6decf1a271968c9d627a8ca935217952.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/6decf1a271968c9d627a8ca935217952.writebug)
### 1.2.1 功能要求
@ -119,11 +119,11 @@ This article first introduced operationprinciple of the ASP technology, the work
在HTML文件的结构下使用互动式网页就必须在服务器端另外增加这些处理信息的功能,通常是针对用途写一个网页应用程序来负责处理。而以互动式网页存取得数据当然必须能长时间储存,所以网页应用程序就要能存取数据库,在浏览器上显示互动式网页,如下图所示:
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/339560da6dc5ddd9819f9aa5f33fa4b2.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/339560da6dc5ddd9819f9aa5f33fa4b2.writebug)
通过以上的介绍您应该已经知道,如果是一个网站内容提供者(ICP),要提供互动式网页的服务,必须要有WWW服务器,网页应用程序和数据库这三个成员,当然它们都必须在操作系统下执行,所以把操作系统也算在内总共四项软件。本系统采用了当今最佳组合――LAMP。
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/a999cb5f469d477c3aaa918e05588eeb.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/a999cb5f469d477c3aaa918e05588eeb.writebug)
LAMP就是Linux、Apache、MySQL加上PHP。首先是Linux操作系统(免费!),这两年在PC地舞台上大放光明,尤其在server地使用上悄然威胁微软的地位。Web服务器Apache(免费!)在全球的website有极大的使用率。数据库MySQL (免费! ), 一个快速、稳定的SQL数据库服务器。PHP(免费! ), 扮演处理互动式信息的网页应用程序的角色。除了稳定、高效能之外,它们均免费,是最经济的选择,而且丰富的网络资源与众多的高手绝对不会让你求教无门。
@ -405,11 +405,11 @@ select * from users order by ID;
用户登录高校教材办公网后,点击“登陆”链接进入本子系统。
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/f4ee52dfb281006f072491b25af39356.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/f4ee52dfb281006f072491b25af39356.writebug)
如下图示,进入教材管理子系统主页面:
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/966e6853b4fdb0a8a49a01534c109512.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/966e6853b4fdb0a8a49a01534c109512.writebug)
### 3.3.2 教材规章制度
@ -572,7 +572,7 @@ endswitch;
登录时要求输入管理员的姓名、密码、帐号,此处设定为:姓名(SSSS)、密码(12345)、帐号(6666),点击“确定”后,由程序login2.php提交到数据库,根据输入的信息判断其是否为管理员,若是可进入。进入后,点击左边的各项即可链接到相应的功能项,继续操作。
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/56eeff73a576b168f900dec8435a39ef.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/56eeff73a576b168f900dec8435a39ef.writebug)
```php
//管理员登录功能程序
@ -599,11 +599,11 @@ endswitch;
在页面的左侧选择操作项,右侧绿色区域为工作区。
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/c0fa6f8f764b2979e276c945c0fc672d.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/c0fa6f8f764b2979e276c945c0fc672d.writebug)
- **职员信息录入**:公务员号(ID)项必须录入数据,直接在文本框中录入数据,要求日期类的格式必须为“1990-09-09”,身高“170cm”,体重“65kg”,在录入界面中输入数据后,按“提交”后,由程序insert.php提交数据库,对users, aducat, emergen, resume, family 五表插入数据;当提示数据录入成功后,点击返回,可继续录入。
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/dd709c298c772d1ccca216e86ab5b96f.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/dd709c298c772d1ccca216e86ab5b96f.writebug)
```php
//职员信息录入insert.php
@ -694,7 +694,7 @@ else{
- **职员信息修改**:在修改界面中,首先输入被修改者的帐号(ID)和姓名(NAME),点击“确定”后由程序modify11.php提交到数据库,首先将其原始数据搜索出返回到modify.php中显示,在此基础上对数据进行修改,修改完毕再由程序modify12.php提交到数据库对数据进行更新users,aducat,emergen,resume,family五表操作,提示修改成功后,可返回,继续下一次修改。
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/b738b317ec8c48f4875231874fe982f2.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/b738b317ec8c48f4875231874fe982f2.writebug)
```php
//职员信息修改
@ -842,7 +842,7 @@ if($ID and $NAME){
- **教材信息管理**:具备录入,修改,删除;同上点击链接后,根据提示信息继续操作。该块由教材管理栏完成。
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/ae061e7248f6ccf8146a7c5a5dbba8cd.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/ae061e7248f6ccf8146a7c5a5dbba8cd.writebug)
- **教材管理**:同上点击链接后,根据提示信息继续操作。

Loading…
Cancel
Save
新建文件(夹)
上传文件(夹)