摘要:
直接输出接收的数据 #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
阅读(142)
评论(0)
推荐(0)
摘要:
注意是否丢失两个换行符\n\n printf("Content-type: text/html;charset=utf-8\n\n"); 阅读全文
posted @ 2016-11-16 00:01
sherlock-merlin
阅读(1367)
评论(0)
推荐(0)