
boa
文章平均质量分 78
tandesir
这个作者很懒,什么都没留下…
展开
-
boa服务器中如何使用cgi管理cookie(c语言)
1 【方法1】 (1) 设置cookie printf( "Set-Cookie:username=%s; path=/; \r\n ",username); printf("Content-type: text/html\n\n"); 注意:设置cookie的语句原创 2011-09-30 20:56:58 · 5597 阅读 · 5 评论 -
cgi如何提取表单post的特殊子串
【问题】用c编写cgi程序如何取出html表单post来的数据? 【分析】html表单post来的数据形如username="zhang"&&password="123456"&&useid="012" 【方法1】 #include #include #includ原创 2011-10-11 14:45:33 · 4253 阅读 · 0 评论