What is CGI?
The Common Gateway Interface, or CGI, is a standardized specification for interfacing external applications with Web servers via the Hyper Text Transfer Protocol (HTTP).
The specification is usually called the Standard CGI Interface because it uses Standard Input (STDIN) and Standard Output (STDOUT) to read and send the data.