CGI: Difference between revisions
No edit summary |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
CGI stands for '''Common Gateway Interface''' and basically means any kind of program that runs on a webserver. Typically a CGI produces an HTML page as output, but may also produce an image (say a PNG or JPEG), or any other kind of file a webserver might serve. | CGI stands for '''Common Gateway Interface''' and basically means any kind of program that runs on a webserver. Typically a CGI produces an HTML page as output, but may also produce an image (say a PNG or JPEG), or any other kind of file a webserver might serve. | ||
A PHP is a kind of CGI (though typically may have a more "intimate" connection and different setup on a server than other more traditional CGI languages like PERL or Python). For a very particular task or maximum performance, a CGI might even be a binary executable written in C and compiled on the server. | The [[PERL]] scripting language was a crucial part of early Web (CGI) programming. | ||
A PHP is a kind of CGI (though typically may have a more "intimate" connection and different setup on a server than other more traditional CGI languages like [[PERL]] or [[Python]]). For a very particular task or maximum performance, a CGI might even be a binary executable written in C and compiled on the server. | |||
* http://en.wikipedia.org/wiki/Common_Gateway_Interface | * http://en.wikipedia.org/wiki/Common_Gateway_Interface | ||
* http://www.ietf.org/rfc/rfc3875.txt | * http://www.ietf.org/rfc/rfc3875.txt | ||
* http://www.w3.org/CGI/ | * http://www.w3.org/CGI/ | ||
* See also [[PERL Journal]] | |||
* [https://web.archive.org/web/19970605143114/http://www.yahoo.com/Computers_and_Internet/Internet/World_Wide_Web/CGI___Common_Gateway_Interface/ Yahoo Listing of CGI scripts circa 1997 (via wayback)] | |||
== Python CGI == | |||
See [[Python CGI]] |
Latest revision as of 10:28, 12 February 2014
CGI stands for Common Gateway Interface and basically means any kind of program that runs on a webserver. Typically a CGI produces an HTML page as output, but may also produce an image (say a PNG or JPEG), or any other kind of file a webserver might serve.
The PERL scripting language was a crucial part of early Web (CGI) programming.
A PHP is a kind of CGI (though typically may have a more "intimate" connection and different setup on a server than other more traditional CGI languages like PERL or Python). For a very particular task or maximum performance, a CGI might even be a binary executable written in C and compiled on the server.
- http://en.wikipedia.org/wiki/Common_Gateway_Interface
- http://www.ietf.org/rfc/rfc3875.txt
- http://www.w3.org/CGI/
- See also PERL Journal
Python CGI
See Python CGI