http://www.perlmonks.org?node_id=104720

sOKOle has asked for the wisdom of the Perl Monks concerning the following question:

To check user IP we have the enviroment table $ENV: $address=$ENV{REMOTE_ADDR}; but if the user connects through LAN his IP is always 127.0.0.1 Does anybody knows what should I do to get the user real IP, even when he connects through LAN? RSVP sOKOle