Thanks a lot, thats exactly what I wanted On Thu, 25 Sep 2003, Pete Emerson wrote:
> 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; > > > -- Asif Iqbal http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x8B686E08 There's no place like 127.0.0.1 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]