Common Gateway Interface. CGI is a standard specification for creating Web server programs that accept data from Web clients, process the data, and return a result. For example, each HTML form needs a corresponding CGI program to process form data sent to its Web site. CGI programs can be written in a variety of languages, including C, Perl, Visual Basic, and Java.
