Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Is it something to do with my code or the server settings? If server settings, how can I work around this if my host does not cooperate?#!/usr/local/bin/perl -T use strict; print "Content-type: text/html\n\n"; print "<tt>\n"; foreach my $key (sort keys(%ENV)) { print "$key = $ENV{$key}<p>"; } print $ENV{'REMOTE_HOST'}; #prints BLANK for me?! print "<br>hi";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Retrieving the REMOTE HOST
by snopal (Pilgrim) on Jul 08, 2007 at 00:28 UTC | |
|
Re: Retrieving the REMOTE HOST
by varian (Chaplain) on Jul 08, 2007 at 12:46 UTC | |
|
Re: Retrieving the REMOTE HOST
by naikonta (Curate) on Jul 08, 2007 at 13:34 UTC | |
|
Re: Retrieving the REMOTE HOST
by jasonk (Parson) on Jul 09, 2007 at 00:04 UTC |