Skip Site Navigation «

DRX

app«drx

Web Developer Resource Index: CGI

The Common Gateway Interface is a specification, or protocol, in which an external program or script interacts with a Web server by accepting parameters from the server, and then returns results which are generally displayed in a Web browser (client). CGI scripts may be written in any programming language capable of following the specification. Perl is by far the most popular language for CGI programming.

Traditionally, and where the term "gateway" originates, CGI was designed to extract information from some other source, such as a database, that was not designed to be used in a hypertext environment like the Web. The specification is often used to process the contents of an HTML form. See the FreeBSD Man Pages for an excellent example of both of these features.

Over the past decade CGI has fallen out of favor and has been replaced for the most part by scripting languages such as PHP and Python that are embedded into a Web server like Apache.

Updated: Wednesday, October 29th, 2008 @ 1:53 AM EDT

iconInternet:Protocols:CGI {0}(10)[54]

Navigation

Resources

Matching Tags

Indexes

§ A.Author
§ B.Best
§ D.Domain
§ F.Recent
§ G.Tag
§ H.Title

Search for Common Gateway Interface on:


Last updated: Wednesday, October 29th, 2008 @ 1:53 AM EDT [2008-10-29T05:53:43Z]   home

(c) 2008-2010, Douglas W. Clifton, loadaveragezero.com, all rights reserved.