Hello westrock2000,
Usually Apache sets the environmental variable 'DOCUMENT ROOT', but to make sure, why not print out all the variables:
I usually print to a file so I can check it later and often. Perl gives you the power, so why not use it :-)foreach my $env ( sort keys %ENV ) { print "ENV:\t$env\t$ENV{$env}\n"; }
Regards...Ed
"Well done is better than well said." - Benjamin Franklin
In reply to Re: Getting system enviornmentals when running CGI
by flexvault
in thread Getting system enviornmentals when running CGI
by westrock2000
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |