: $hostadd = $ENV{REMOTE_HOST};
:
: print "Host : $hostadd\n";
:
: But it isnt working , all I see is
:
: Host:
Your server (I'm assuming Apache) may be configured with:
HostnameLookups Off
If this is the case, then the server will not try to resolve IP
addresses into hostnames. This i
I ran this piece of code vs %ENV on my machine(win2k):
foreach $key (keys %ENV){
print qq|The value of $key is $ENV{"$key"}\n|;
}
Some of output:
...
The value of OS is Windows_NT
The value of HOMEDRIVE is C:
The value of TMPDIR is C:/WINNT/TEMP
The value of HISTFILE is C:/WINNT/TEMP/tmp724.