keiusui has asked for the wisdom of the Perl Monks concerning the following question:
I know that $ENV{REMOTE_ADDR} returns the IP address of a visitor. How do I get the hostname of a visitor?
For example, this website tells you your hostname:
whatismyipaddress.com/staticpages/index.php/whatismyhostname
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how do I get a website visitor's host address
by McDarren (Abbot) on Jan 31, 2006 at 06:05 UTC | |
by jbrugger (Parson) on Jan 31, 2006 at 06:08 UTC | |
Re: how do I get a website visitor's host address
by idle (Friar) on Jan 31, 2006 at 06:06 UTC | |
Re: how do I get a website visitor's host address
by l.frankline (Hermit) on Jan 31, 2006 at 06:12 UTC | |
Re: how do I get a website visitor's host address
by strat (Canon) on Jan 31, 2006 at 09:34 UTC | |
Re: how do I get a website visitor's host address
by jbrugger (Parson) on Jan 31, 2006 at 06:04 UTC |
Back to
Seekers of Perl Wisdom