I am new to CGI and have some confusion.
What is CGI ? Is it a set of standards which must be followed while communicating between server and CGI script ? How does a server know that a particular program script is following CGI standards ? I have seen cgi-bin directory. If I put a script in this directory, does it mean that program is CGI program ? What happens if I put a program in cgi-bin directory, which is not CGI program ? How do I make my perl script a CGI program script ? Where do I mention that this is CGI script and do I have to provide .cgi extnsion to make it a cgi script ? which are the other standards like CGI to run server side programs based on request from a client ? Perl script is used to write CGI programs, can I use java to write CGI script ?
Pls answer all questions
Thanks
What is CGI ? Is it a set of standards which must be followed while communicating between server and CGI script ? How does a server know that a particular program script is following CGI standards ? I have seen cgi-bin directory. If I put a script in this directory, does it mean that program is CGI program ? What happens if I put a program in cgi-bin directory, which is not CGI program ? How do I make my perl script a CGI program script ? Where do I mention that this is CGI script and do I have to provide .cgi extnsion to make it a cgi script ? which are the other standards like CGI to run server side programs based on request from a client ? Perl script is used to write CGI programs, can I use java to write CGI script ?
Pls answer all questions
Thanks