InterviewSolution
| 1. |
Write the function of CG |
|
Answer» mmon Gateway Interface) is a standard way of RUNNING programs from a Web server. Often, CGI programs are used to generate pages dynamically or to perform some other action when SOMEONE fills out an HTML form and clicks the submit BUTTON. AOLserver provides full support for CGI v1.1.Basically, CGI works like this:A reader sends a URL that causes the AOLserver to use CGI to run a program. The AOLserver passes input from the reader to the program and output from the program back to the reader. CGI acts as a "gateway" between the AOLserver and the program you write.The program run by CGI can be any type of executable file on the server platform. For example, you can use C, C++, Perl, Unix shell scripts, Fortran, or any other compiled or interpreted language. You can also use Tcl scripts with CGI, though the extensions to Tcl DESCRIBED in Chapter 5 of the AOLserver Tcl Developer's GUIDE are not available through CGI. |
|