#!/usr/local/bin/perl5
require './CGI_LIB.pl';
&Print_Head;
&Parse_Multi;

$plusplus = "<BIG><FONT COLOR=#00aaaa>++</FONT></BIG>";
print "<PRE>";
print <<__END__HEAD__;
<HR SIZE=8>
<H2>\$ENV{CONTENT_TYPE}</H2>
<SMALL><FONT COLOR=#ff0000>$ENV{CONTENT_TYPE}</FONT></SMALL>
<HR SIZE=8>
<B>In the following \"$plusplus\" is a mark to know where the value starts and ends.</B>
__END__HEAD__

print "\n<H2>%CGI</H2>";
for (keys(%CGI)) {
  print "<B><BIG><FONT COLOR=#0000ff>$_</FONT></BIG></B>\n";
  print "Its value: <B><FONT COLOR=#00ff33>\$CGI\{$_\}</FONT></B>\n";
  print "$plusplus<B>$CGI{$_}</B>$plusplus\n";
  print "\n<HR SIZE=3 WIDTH=90%>";
}
print "<HR SIZE=8>";
print "<H2>%EXT</H2>";
for (keys(%EXT)) {
  print "<B><BIG><FONT COLOR=#0000ff>$_</FONT></BIG><B>\n";
  print "Its extension variable: <B><FONT COLOR=#00ff33>\$EXT\{$_\}</FONT></B>\n";
  print "$plusplus<B>$EXT{$_}</B>$plusplus\n\n";
  if ( defined $C_TYPE{$_} ) {
    print "Its Content-Type: <B><FONT COLOR=#00ff33>\$C_TYPE\{$_\}</FONT></B>\n";
    print "$plusplus<B>$C_TYPE{$_}</B>$plusplus\n";
  };
  print "\n<HR SIZE=3 WIDTH=90%>";
}

print <<__HTML__;
</PRE>
<HR SIZE=8>
<A HREF="mailto:u810561\@Oz.nthu.edu.tw">Comments are welcome!</A>
__HTML__





