A report on Common Gateway Interface, Form (HTML) and PHP
A typical use case occurs when a web user submits a web form on a web page that uses CGI.
- Common Gateway InterfacePHP 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.
- PHPHe extended them to work with web forms and to communicate with databases, and called this implementation "Personal Home Page/Forms Interpreter" or PHP/FI.
- PHPSome of the interpreted languages commonly used to design interactive forms in web development are PHP, Python, Ruby, Perl, JSP, Adobe ColdFusion and some of the compiled languages commonly used are Java and C# with ASP.NET.
- Form (HTML)Perl scripts are traditionally used as Common Gateway Interface applications (CGIs).
- Form (HTML)CGI programs precompiled to machine code, e.g. precompiled from C or C++ programs, rather than CGI programs interpreted by a virtual machine, e.g. Perl, PHP or Python programs.
- Common Gateway Interface1 related topic with Alpha
Web server
0 linksComputer software and underlying hardware that accepts requests via HTTP or its secure variant HTTPS.
Computer software and underlying hardware that accepts requests via HTTP or its secure variant HTTPS.
At 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.
These 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.
The result is the local file path of the program (in this example, a PHP program):