In addition with each request the server also receives environment variables that are not request-specific. What the server does with all this information depends upon the server and has a bearing on the CGI programming. As more the server does, less the programmer has to do, and vice-versa. From this point on we can only discuss CGIs regarding a specific server and a given CGI programming language. You can see the code for the Perl script here .
Lets walk through the script and understand how a CGI works.
The Web server CGI support gets this output and sends it to the client. In some servers you are required to do it, what makes it a little more involved. This is a file in the server to keep the bugs and suggestions. Of course the Web server takes care of sending it to whom it belongs to. This page was last updated on March 7, 2001.