Link to home
Start Free TrialLog in
Avatar of loong
loong

asked on

check the remote_ip address from perl ?

how to i get the remote ip address from perl ?
Avatar of ozo
ozo
Flag of United States of America image

Who's remote ip address?
Avatar of loong
loong

ASKER

visitor visit my web site

remote_addr
remote_host


$ENV{REMOTE_ADDR}
$addr = $ENV{'REMOTE_ADDR'};
use Socket;
            
my $host = gethostbyaddr(inet_aton($addr), AF_INET);


Avatar of loong

ASKER

thank
ASKER CERTIFIED SOLUTION
Avatar of struppi
struppi
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial