CGI Common Gateway interface (CGI)
The Common Gateway interface (CGI) is a standard way for a web server to pass a
web user’s request to an application program and to receive data back to forward to the user.
When the user requests a web page (for example, by clicking on a highlighted word or entering
a website address), the server sends back the requested page. However, when a user fills out a form on a web page and form sends it in, it usually needs to be processed by an application
program. The web server typically passes the form information to a small application program
that processes the data and may send back a confirmation message. This method Gateway
Interface (CGI).It is part of the web’s Hypertext Transfer Protocol (HTTP).
If we are creating a website and want a CGI application to get control, you specify the name of
the a programmer can write a CGI application in a number of different languages can write such
as C,C++, Java, and PERL.