The Common Gateway Interface (CGI) is
a simple interface for running external programs, software or gateways under an
information server in a platform-independent manner. Currently, the supported
information servers are HTTP servers. This PDF covers the following topics
related to The Common Gateway Interface (CGI) Version 1.1 : Introduction,
Notational Conventions and Generic Grammar, Invoking the Script, The CGI
Request, NPH Scripts, CGI Response, System Specifications, Implementation,
Security Considerations.
Author(s): David Robinson, Apache Software
Foundation, Ken A.L. Coar, IBM Corporation
This note covers the following
topics: Apache and LAMP, dynamic web pages, HTTP: GET and POST methods, FORM to
accept user data, server-side scripting, Interactive Web Pages, accepting user
input, greatest common divisor on the web, Python Scripts in Browsers.
The Common Gateway
Interface provides the middleware between WWW servers and external databases and
information sources.This note explains everything about CGI.