Schlagwort-Archiv: CGI

Show CGI Environment

Script: Show CGI Environment (Perl)

#!/usr/bin/perl

print 'Content-type: text/html\n\n';
print '\n';
print 'CGI Environment\n';
print '\n';
print '\n';
print 'CGI Environment\n';
foreach $env_var (keys %ENV) {
   print '$env_var = $ENV{$env_var}\n';
}
print '\n';

exit;