[Home]Wikipedia: CGI

HomePage | Recent Changes | Preferences | Receive an article a day!
You can edit this page right now!
Difference (from prior major revision) (no other diffs)

Changed: 1,12c1,2
CGI stands for Common Gateway Interface. It is a key piece of World Wide Web technology that enables the client browser to execute programs on a Web server in a standard way.

The programming language Perl is well known as a language used for CGI, but one of the points of CGI is to be language neutral. The Web server does not need to know anything about the language in question.

An example of a CGI program is the one implementing Wikipedia: you hand it the name of an entry, and it will retrieve the source of this entry's page (if one exists), transform it into HTML, and send the result back to the browser. Or tell it that you want to edit a page. All Wikipedia operations are managed by this one program.

The way CGI works from the Web server's point of view is that certain locations (e.g. http://www.wikipedia.com/wiki.cgi) are defined to be served by a CGI program. Whenever a request to a matching URL is recieved, the corresponding program is called, with any data that the client sent as input. Output from the program is collected by the Web server, augmented with appropriate headers, and sent back to the client.




CGI can also stand for the term 'Computer Generated Imagery' in the fields of computer graphics and [special effects]?.

#Common Gateway Interface: a technology used in [web servers]?.
#Computer Generated Imagery

  1. Common Gateway Interface: a technology used in [web servers]?.
  2. Computer Generated Imagery

HomePage | Recent Changes | Preferences | Receive an article a day!
You can edit this page right now! It's a free, community project
Edit text of this page | View other revisions
Last edited November 23, 2001 11:09 am (diff)
Search Wikipedia: