I am confused with word CGI. 1) Is it a language or protocol ? If its a protocol, then how can there be programs in CGI ? I was going thru http://hoohoo.ncsa.illinois.edu/cgi/intro.html and I see CGI program words there. 2) If CGI is language, how is it different from PERL ? If I am writing perl code, where does CGI come in from ? 3) CGI stands for Common Gateway Interface, what kind of interface does it provide ? 4) If we provide CGI specifications in perl code, does it become a CGI program or stay as perl code ? Do we need any software installed to use CGI ? Is this software installed on web server or we have to install it separately ? 5) Please list different specifications, which turn perl code in CGI. When I was reading about CGI (which Idid not understand much), I came across only couple of parameters to make CGI program. What other parameters are there ? I have tried to do lot of reading on this, but did not understand CGI. So can someone please explain this basic idea of CGI. Pls dont point to another link. Thanks in advance

In reply to CGI program by manishrathi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.