Re: Ref to CGI variables

On Mon, 27 Mar 1995 13:16:25 +0500, murali@scope-tech.com (Murali Chirala ) said:

Murali> Could someone direct me to URL's that provide a comprehensive
Murali> list (with description) of CGI variables? Thanks

You might find this stupid `printenv' CGI handy:

    #!/usr/local/bin/perl
    # See http://hoohoo.ncsa.uiuc.edu/cgi/env.html for CGI-specific env vars.
    #
    # Thu Jan 12 17:53:21 1995 Chris Shenton <cshenton@wirehead.hq.nasa.gov>
    ###############################################################################

    print "Content-Type: text/html\n";
    print "\n";
    print "<HEAD>\n";
    print "<TITLE>printenv</TITLE>\n";
    print "</HEAD>\n";
    print "<BODY>\n";
    print "<H1>printenv</H1>\n";

    for $key (sort keys %ENV) {
	print "<B>$key</B> $ENV{$key}<BR>\n";
    }

    print "</BODY>\n";

Received on Monday, 27 March 1995 13:48:34 UTC