Asif Iqbal wrote:

I can use this to get all the env variables
...
Now how can I use this trick to get all the web env variables ? I am using
apache on unix (solaris 8) ?

It's the same way. Here's code that works for me:


#!/usr/bin/perl -w

use strict;
use CGI qw(:standard);

print header;
print start_html;
foreach my $key (sort keys %ENV) {
    print "\$ENV{$key} = $ENV{$key}<br/>\n";
}
print end_html;


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to