Common Gateway Interface

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
 
(未显示1个用户的13个中间版本)
第1行: 第1行:
 +
{{SeeWikipedia}}
 +
 +
==CGI==
 +
*[[FastCGI]]
 +
*[[mod_fastcgi]]
 +
*[[mod_fcgid]]
 +
*[[mod_cgi]]
 +
*[[SCGI]]
 +
*[[WSGI]]
 
==C/C++==
 
==C/C++==
*[[qDecoder]]
 
 
*[[GNU cgicc]]
 
*[[GNU cgicc]]
 +
*[[jwCGI]]
 
*[[cgihtml]]
 
*[[cgihtml]]
 
*[[CGIPlusPlus|CGI++]]
 
*[[CGIPlusPlus|CGI++]]
第9行: 第18行:
 
*[[CGL]]
 
*[[CGL]]
 
*[[RudeServer]]
 
*[[RudeServer]]
==Examples==
+
*[[qDecoder]]
#include <rude/database.h>
+
*[[cgic]]
#include <iostream>
+
 
+
using namespace std;
+
using namespace rude;
+
  
void doStuff(void)
 
{
 
        Database *database = Database::instance("mycontext");
 
        if(database->executeQuery("select * from test"))
 
        {
 
                cout << "Successful\n"
 
        }
 
        else
 
        {
 
                cout << database->getError() << "\n";
 
        }
 
}
 
int main(void)
 
{
 
        Database::addContext("mycontext","test","root","huihoo","localhost",3306);
 
        doStuff();
 
        Database::finish();
 
        return 0;
 
}
 
g++ testmysql.cpp /usr/lib/rudedatabase.lib /usr/lib/libmysqlclient.so
 
 
debian:/var/www/cgi-bin# ./testmysql
 
Successful
 
 
==Debian包==
 
==Debian包==
 
*libcgicc-doc - A C++ class library for writing CGI applications
 
*libcgicc-doc - A C++ class library for writing CGI applications
第53行: 第35行:
 
*namazu2-common - Full text search engine (Document files)
 
*namazu2-common - Full text search engine (Document files)
 
*namazu2-index-tools - Full text search engine (Tools for index handling)
 
*namazu2-index-tools - Full text search engine (Tools for index handling)
 
  
 
==Resource==
 
==Resource==
 +
*[http://hoohoo.ncsa.uiuc.edu/cgi/ CGI specification]
 
*http://www.cgi-resources.com/Programs_and_Scripts/C_and_C++/
 
*http://www.cgi-resources.com/Programs_and_Scripts/C_and_C++/
 
*http://cgi.resourceindex.com/
 
*http://cgi.resourceindex.com/
 
*http://www.boutell.com/
 
*http://www.boutell.com/
 +
 +
[[Category:CGI]]

2010年9月16日 (四) 08:52的最后版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Common Gateway Interface Thanks, Wikipedia.

目录

[编辑] CGI

[编辑] C/C++

[编辑] Debian包

  • libcgicc-doc - A C++ class library for writing CGI applications
  • libcgicc1 - A C++ class library for writing CGI applications
  • libcgicc1-dev - A C++ class library for writing CGI applications
  • libcgicg1 - C library for developing CGI applications
  • libcgicg1-dev - C library for developing CGI applications
  • libecgi-dev - An ANSI C library for the creation of CGI applications
  • libecgi0 - An ANSI C library for the creation of CGI applications
  • libfcgi-dev - Header files of FastCGI
  • libgcgi-dev - library for CGI programs in C
  • libgcgi0 - library for CGI programs in C
  • namazu2 - Full text search engine (namazu binary and cgi)
  • namazu2-common - Full text search engine (Document files)
  • namazu2-index-tools - Full text search engine (Tools for index handling)

[编辑] Resource

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱