Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [LanceWilson2] Return the Client Ip

Quote Reply
Re: [LanceWilson2] Return the Client Ip In reply to
Hi,

I've tested the following global called "ClientIP":

Code:

sub {
my $client = $ENV{REMOTE_HOST} || $ENV{REMOTE_ADDR};
return $client;
}


In my login.html template, I've used <%ClientIP%> to display the client info. Everything seems to work fine on my system. I don't know why your code didn't work (should have worked, too). I have the same db.cgi revision, but it could be that I have other modules or libraries than you.

Cheers,
Oliver
Subject Author Views Date
Thread Return the Client Ip LanceWilson2 3535 Aug 20, 2004, 12:21 PM
Post Re: [LanceWilson2] Return the Client Ip
olivers 3456 Aug 28, 2004, 6:05 AM
Post Re: [LanceWilson2] Return the Client Ip
jean 3443 Aug 31, 2004, 12:25 PM