Apache CGI

来源:互联网 发布:h3c将端口加入vlan 编辑:程序博客网 时间:2024/05/21 17:55
It's really very cool to process the requirement of client on web with CGI technology

http://hoohoo.ncsa.uiuc.edu/cgi/

The Common Gateway Interface

My hello word program on cgi-bin

//: C02:Hello.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Saying Hello with C++
#include <iostream> // Stream declarations
using namespace std;
 
int main() {
  cout << "Content-type: text/html/n/n Hello, World! I am "
       << 8 << " Today!" << endl;
} ///:~


原创粉丝点击