摘要: 准备工作:新建文件夹,放入cgic.c cgic.h login.c和Makefile(后面新建),登录名为111,密码为222 效果图为: login.html 放到www目录下 <html > <head> <meta http-equiv="Content-Type" content="tex 阅读全文
posted @ 2020-07-03 20:44 前方路wx 阅读(299) 评论(0) 推荐(0) 编辑
摘要: viewdata.c #include<stdio.h> #include<stdlib.h> #include<ctype.h> #define DATAFILE "/var/www/cgi-bin/data.txt" int main(void) { FILE *f = fopen(DATAFI 阅读全文
posted @ 2020-07-03 20:21 前方路wx 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/cumtzdlxm/article/details/78155470 html.h #include<stdio.h> void html_begin(void); void html_body(void); void html_body_noi 阅读全文
posted @ 2020-07-03 20:12 前方路wx 阅读(324) 评论(0) 推荐(0) 编辑