A report on Common Gateway Interface, Web server and Form (HTML)
In computing, Common Gateway Interface (CGI) is an interface specification that enables web servers to execute an external program, typically to process user requests.
- Common Gateway InterfaceA typical use case occurs when a web user submits a web form on a web page that uses CGI.
- Common Gateway InterfaceAt the beginning of 1994, the most notable among new web servers was NCSA httpd which ran on a variety of Unix-based OSs and could serve dynamically generated content by implementing the HTTP method and the CGI to communicate with external programs.
- Web serverThese capabilities, along with the multimedia features of NCSA's Mosaic browser (also able to manage HTML FORMs in order to send data to web server) highlighted the potential of web technology for publishing and distributed computing applications.
- Web serverPerl scripts are traditionally used as Common Gateway Interface applications (CGIs).
- Form (HTML)CGIs may be written in other languages than Perl (compatibility with multiple languages is a design goal of the CGI protocol) and there are other ways to make Perl scripts interoperate with a web server than using CGI (such as FastCGI, Plack or Apache's mod_perl).
- Form (HTML)1 related topic with Alpha
PHP
0 linksGeneral-purpose scripting language geared toward web development.
General-purpose scripting language geared toward web development.
PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or as a Common Gateway Interface (CGI) executable.
He extended them to work with web forms and to communicate with databases, and called this implementation "Personal Home Page/Forms Interpreter" or PHP/FI.