CGI (Common Gateway Interface)
interface used to access information banks through http services on the Internet (Computers)
CGI
CGI may mean:
Computer-generated imagery, application of computer graphics to special effects in films, television programs etc.
Common Gateway Interface, a technology used in web servers
CGI.pm, a Perl module used for dealing with it
CGI Group, a Canadian headquartered information management company (formerly Conseillers en Gestion et Informatique C.G.I. Inc.)Computer graphics interface, a low-level interface between the
Graphical Kernel System and the hardware
Clinical Global Impression, a scale to assess treatment response associated with mental disordersClinton Global Initiative, a forum created by former President Bill Clinton to discuss global problems
Corrugated Galvanised Iron, molded sheet-metal
Cape Girardeau Regional Airport (IATA airport code: CGI) in Cape Girardeau, Missouri, United States
Cuerpo Guardia de Infantería, an Argentine police riot control serviceStratified Charged Gasoline Injection, a gasoline direct injection by the German automobile and truck manufacturer DaimlerChrysler for Spark-ignition-EnginesChampionship Gaming Invitational, a Video Game tournament themed show shown on
DirecTVCell Global Identify, unique identifier of a
cell site in cellular networks such as GSM and UMTSCGI-IUGS, Commission for the Management and Application of Geoscience Information. A commission of the International Union of Geological Sciences.
See more at Wikipedia.org...
Common Gateway Interface
cgi (Common Gateway Interface)
CGI, Common Gateway Interface, interface used to access information banks through http services on the Internet (Computers)
CGI
CGI program
<
World-Wide Web> (Often "CGI script") A program running on a
web server to produce dynamic content, usually an
HTML web page, in response to a user's request.
The
Common Gateway Interface specification defines the interface between the web server and such programs. The program can access any data that a normal application program can, however the facilities available to CGI programs are usually limited for security.
Although CGI programs can be compiled programs, they are more often written in a (semi)
interpreted language such as
Perl, or as
Unix shell scripts, hence the name "CGI script".
Here is a trivial CGI script written in Perl. (It requires the "CGI" module available from
CPAN).
#!/usr/bin/perl use CGI qw(:standard);
print header, start_html, h1("CGI Test"), "Your IP address is: ", remote_host(), end_html;
When run it produces an
HTTP header and then a simple HTML page containing the
IP address or
hostname of the machine that generated the initial request. If run from a command prompt it outputs:
Content-Type: text/html
Untitled Document CGI TestYour IP address is: localhost
The CGI program might be saved as the file "test.cgi" (or test.pl) in the appropriate directory on a web server, e.g. "/home/httpd/cgi-bin/".
A user could then type the appropriate
URL, e.g. http://www.acme.com/cgi-bin/test.cgi, into their
web browser to get the program to run and a custom page produced for them.
Early web servers required all CGI programs to be installed in one directory called cgi-bin but it is much better to keep them with the HTML files to which they relate unless they are truly global to the site. All modern web servers make this easy to do.
(2000-06-23)
(c) Copyright 1993 by Denis Howe
CGI
Can’t Get In
Common Gateway Interface (web scripting facility)
Computer-Generated Imagery (movie industry) For more possible definitions for CGI,
click here©1988-2002, All Rights Reserved,
AcronymFinder.com