![]() |
|
|
Why CGI?The Common Gateway Interface is usually used for external software interfacing with a web server. The server responds to requests from web browsers and returns output. When a request is received, the server analyzes it, and returns the output in the way of content of the file stored on disk, or the server runs the command and return output, if the request represents an executable command. Due to CGI, the information about the server and the request is converted to command, passing back the information about output. Some web site URLs are considered to be corresponding to a program to run via CGI. When a query for the URL is received, the compliant program is executed. Then using variables the data is transferred into the program. Web servers usually contain a cgi bin sub-base at the directory tree base to hold all executable CGI-files called. The results are usually being returned to the server in the form of standard output. |
||
Learn more on the topic:Visit as well: |
||
|
safe web browsing