摘要: 【问题】用c编写cgi程序如何取出html表单post来的数据?【分析】html表单post来的数据形如username="zhang"&&password="123456"&&useid="012"【方法1】#include <stdio.h>#include <stdlib.h>#include <string.h> char* getcgidata(FILE* fp, char* requestmethod);int main(){char *input;cha 阅读全文
posted @ 2011-10-11 14:45 j2ee技术 阅读(747) 评论(0) 推荐(0)