当前位置:编程学习 > CGI >>

关于cgi查询数据库的问题

你好,我在cgi中写了查询mysql的程序,想把查询结果显示在页面中,浏览器却显示有错误,然而./执行时却没有错误,不知道是什么问题
补充:不好意思,这是页面显示错误
Server error!

    The server encountered an internal error and was unable to complete your request. 

    Error message:
    Premature end of script headers: test.cgi 

    If you think this is a server error, please contact the webmaster
答案:说明test.cgi写的有问题,如果是Apache ,可以查看错误日志,应该会有错误提示。
其他:错误都不给怎么查啊!!! 

上一个:<html> <head> <title> 表单中的文本框 </title> </head> <body> <h2>个人信息</h2> <form action="cgi-bi
下一个:CGI与php之间的关系是什么?

更多图片编程知识:
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,