CGI

CGI
in full Common Gateway Interface.

Specification by which a Web server passes data between itself and an application program.

Typically, a Web user will make a request of the Web server, which in turn passes the request to a CGI application program. The program processes the request and passes the answer to the server, which in turn sends it to the user. The entire interchange follows the rules of the CGI specification, which is actually part of the HTTP protocol. CGI application programs can be written in such programming languages as C++ and Visual Basic, but are usually written in Perl.

* * *

in full  common gateway interface 

      a standard that allows external applications located on personal computers or other devices to interact with information servers on the Internet.

      CGI programs are capable of sending many kinds of media, such as documents, images, and audio clips. Most Web sites with fields for input use CGI, and a great deal of the dynamic content on the Web is done using CGI. The possibilities are limitless, but a CGI program needs to be efficient to be effective. In order to create effective CGIs, developers need to know HTML (hypertext markup language), CGI, and HTTP (hypertext transfer protocol) commands, and they also need computer programming skills.

      CGI applications can be written in any computer programming language that is supported by the host computer, including compiled languages such as C and FORTRAN and scripting languages such as Perl and TCL. CGI programs commonly use the HTTP methods GET and POST and the environment variables QUERY_STRING and PATH_INFO to facilitate communication between a client and a Web server. POST is more complicated to work with, but it supports more complex data. In order to be effective, CGI transmissions must contain header messages expressing the return program's data type. Security is also essential to the employment of CGI programs because they can open the host system to unlimited Web access. In order to improve security, programs are placed in a directory called /cgi-bin. This directory, which must be monitored by an administrator, is kept away from other Web content, and access to it is often limited to certain users. This allows the Web server to execute approved programs while excluding unauthorized access.

* * *


Universalium. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • CGI.pm — Original author(s) Lincoln Stein Stable release 3.49 / 2010 02 05 Platform Perl Type Perl module for CGI …   Wikipedia

  • CGI — 〈EDV; Abk. für engl.〉 Common Gateway Interface (allgemeine Schnittstelle) * * * CGI   [Abk. für Common Gateway Interface, dt »allgemeine Schnittstelle für den Übergang (zwischen einem Webserver und Programmen)«], ein Standard im World Wide We …   Universal-Lexikon

  • CGI — также может означать «Computer‐generated imagery» компьютерные спецэффекты. CGI (от англ. Common Gateway Interface  «общий интерфейс шлюза»)  стандарт интерфейса, используемого для связи внешней программы с веб сервером. Программу …   Википедия

  • CGI — may refer to: Contents 1 Technology 2 Organizations 3 Other 4 See also Technology Computer generated imagery …   Wikipedia

  • CGI — Saltar a navegación, búsqueda La sigla CGI puede referirse: Common Gateway Interface, una tecnología que se usa en los servidores web; Computer generated imagery, imágenes generadas por computadora (en inglés), es el resultado de usar… …   Wikipedia Español

  • CGI — 〈EDV; Abk. für engl.〉 Common Gateway Interface (allgemeine Schnittstelle) …   Lexikalische Deutsches Wörterbuch

  • cgi — by 2004, acronym for computer generated imagery …   Etymology dictionary

  • CGI — (Common Gateway Interface) interface used to access information banks through http services on the Internet (Computers) …   English contemporary dictionary

  • CGI — DEFINICIJA krat. int. 1. standardno sučelje između klijenta i poslužitelja 2. specifikacija koja određuje format i sintaksu za prosljeđivanje podataka web poslužiteljima od strane klijenta ETIMOLOGIJA engl. Common Graphics Interface (Common… …   Hrvatski jezični portal

  • CGI — abbrev 1. City and Guilds (of London) Institute (also CGLI) 2. Computer generated imagery. * * * CGI UK [ˌsiː dʒiː ˈaɪ] US [ˌsi dʒi ˈaɪ] noun computing computer generated imagery: images produced by a computer Thesaurus: abbreviations used in… …   Useful english dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”