存档

文章标签 ‘CGI’

ZSCGI——– 一个简单的C++ CGI封装

2009年6月4日 没有评论

本文是继上一篇文章之后的一点深入吧~~ 学了一些关于C/C++ CGI的相关知识,为了方便使用,所以做了这个封装,由于我也是刚刚开始玩CGI,所以写的过程中难免会有所疏漏,所以希望看到这篇文章的朋友,有什么好的建议,都可以在这里留言,我会一一回复大家的,谢谢! 阅读全文…

分类: 程序人生 标签: , , ,

C/C++ CGI

2009年6月1日 3 条评论

闲来没事,玩玩CGI,先搞清楚什么是CGI,下面是原文定义:

The Common Gateway Interface (CGI) is a standard for external gateway programs to interface with information servers, such as HTTP servers.

简单地来说,CGI就是一种用来和HTTP等信息服务器来交互的一种接口。

要进行CGI编程,需要配置一下Web服务器,这里以Apache2.2为例进行说明,关键有两个地方: 阅读全文…

分类: 程序人生 标签: ,

Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: NO) in /home/wuzeshengpwmuqzeeas7h4eknug/wwwroot/wp-content/plugins/quickstats/quickstats.php on line 345

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/wuzeshengpwmuqzeeas7h4eknug/wwwroot/wp-content/plugins/quickstats/quickstats.php on line 345

Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: NO) in /home/wuzeshengpwmuqzeeas7h4eknug/wwwroot/wp-content/plugins/quickstats/quickstats.php on line 346

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/wuzeshengpwmuqzeeas7h4eknug/wwwroot/wp-content/plugins/quickstats/quickstats.php on line 346

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/wuzeshengpwmuqzeeas7h4eknug/wwwroot/wp-content/plugins/quickstats/quickstats.php on line 346