You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Jason C. Leach" <jl...@mail.ocis.net> on 2000/02/17 17:32:42 UTC

fetch IP.

hi,

I'm also looking to fetch a visitor's IP just as apache does in it's log.
Can this be done with mod_perl?

j.

Re: fetch IP.

Posted by darren chamberlain <da...@boston.com>.
my $ip_addr = $r->connection->remote_ip;

Jason C. Leach (jleach@mail.ocis.net) wrote:
> hi,
> 
> I'm also looking to fetch a visitor's IP just as apache does in it's log.
> Can this be done with mod_perl?
> 
> j.

-- 
Cole's Law: Thinly sliced cabbage.