W3C home > Mailing lists > Public > www-talk@w3.org > March to April 1995

Re: Ref to CGI variables

From: Chris Shenton <cshenton@apollo.hq.nasa.gov>
Date: Mon, 27 Mar 1995 13:55:47 -0500
Message-Id: <199503271855.SAA29082@wirehead.hq.nasa.gov>
To: murali@scope-tech.com
Cc: Multiple recipients of list <www-talk@www10.w3.org>
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

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:16 UTC