"be consistent" | |
PerlMonks |
Re: finding ip address without hostnameby Aristotle (Chancellor) |
on Dec 11, 2002 at 14:24 UTC ( [id://219087]=note: print w/replies, xml ) | Need Help?? |
A gotcha to keep in mind: a machine can have multiple IP addresses (even if it only has a single interface!). If you donīt go via the hostname, be sure to allow the user or admin to override your IP detection.
Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|