boa 服务器 错误 cgi_header: unable to find LFLF错误的一种可能

来源:互联网 发布:太田宏介数据 编辑:程序博客网 时间:2024/06/02 07:30
1. 你少了这一句: printf("Content-type: text/html\n\n");    在你输出任何东西回到客户端前, 都需要先宣告这类 header    另一些可能是 printf("Content-type: image/jpeg\r\n\r\n");2. 写 post 去的地方是 cgi-bin/mul.cgi    2.1 你确定你的档已放到 cgi-bin 下去 ? 并且已设成 755 / 777 ?    2.2 你确定档案名叫 mul.cgi 而不是 mlu.cgi ? (你放代码的页面 title 写的是 mlu.cgi