11 2016 档案

摘要:董老师前几天给我们布置了3道作业,第三道作业是cgi程序设计。 题目: web服务器cgi接口功能的实现 要求: 能调用cgi程序并得到返回结果; cgi程序能接受参数并得到返回结果; 使用两种或以上语言实现。 我的想法是: 1、既然要求能够接受参数,那么必然需要使用到表单来提交用户数据,方法可以为 阅读全文
posted @ 2016-11-26 17:27 sherlock-merlin 阅读(1224) 评论(0) 推荐(0) 编辑
摘要:man.cgi源码 html源码 man.css源码 html{ width: 100%; height: 100%; overflow: hidden; } body{ width: 100%; height: 100%; margin: 0; background-color: #4A374A; 阅读全文
posted @ 2016-11-17 20:54 sherlock-merlin 阅读(356) 评论(0) 推荐(0) 编辑
摘要:直接输出接收的数据 #include <stdio.h>#include <stdlib.h>main(){int i,n;printf ("Content-type:text/plain\n\n");n=0;if(getenv("CONTENT_LENGTH")){n=atoi(getenv("C 阅读全文
posted @ 2016-11-16 23:39 sherlock-merlin 阅读(139) 评论(0) 推荐(0) 编辑
摘要:注意是否丢失两个换行符\n\n printf("Content-type: text/html;charset=utf-8\n\n"); 阅读全文
posted @ 2016-11-16 00:01 sherlock-merlin 阅读(1323) 评论(0) 推荐(0) 编辑
摘要:#修改软件源为国内站点mv /etc/apt/sources.list /etc/apt/sources.list.oldtouch /etc/apt/sources.listecho "deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ jessie 阅读全文
posted @ 2016-11-13 18:46 sherlock-merlin 阅读(177) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。
posted @ 2016-11-09 21:00 sherlock-merlin 阅读(6) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示