南京邮电大学双语 web 试验二汇报第四章 试验 2 Web 服务端脚本编写一 试验目的 (1)通过上机实践,熟悉 Apache 服务器的安装和配置使用措施
(2)掌握 PHP 脚本语言,纯熟运用 PHP 语言进行服务器端编程
二 试验环境硬件:Macbook Pro13
3 early软件:Apache+My编辑器:Sublime Text三 试验内容及规定1 显示一种图书售卖界面,重要包括一下内容(1)HTML 的标题为“Welcome to book seller”
(2)页面内容第一行黑体显示“You are welcome”
(3)标签提醒“please input your name”,并创立输入框
(4)标签提醒“please input your address”,并创立输入框
(5)标签提醒“please input your zip”,并创立输入框
(6)黑体显示“please fill in the quantity field of the following form”
(7)表格提成四列,分别是“book”,“publisher”,“price”,“quantity”,其中包含的信息如表格所示表 4
1 图书样表bookpublisherpricequantityWeb technologySpringer press$5
0mathematicsACM press $6
2principle of OSScience press$10Theory of matrixHigh education press$7
8(8)quantity 采用输入框输入
(9)显示“payment method”(10)用单选按钮显示四个支付方式选项“cash”,“cheque”,“credit card”
(11)显示两个原则按钮,“submit”按钮和“re