jeny
jeny

Reputation: 131

How do find ip address of client using perl

How do find ip address of client using perl cgi

Upvotes: 8

Views: 11226

Answers (2)

Quentin
Quentin

Reputation: 943556

Assuming you mean CGI.pm, you want remote_addr

Upvotes: 9

Shakti Singh
Shakti Singh

Reputation: 86386

$ENV{REMOTE_ADDR} contains the visitor's IP address

Upvotes: 20

Related Questions