> I'm wanting to trap the name of the workstation that hit my web page so
> that I know who made a change.  I can get the IP address by using the
> $ENV{REMOTE_ADDR} environment variable, but with DHCP a user's IP
> address could change.  Is there a way using Perl to get that?

Well, the name could be in $ENV{REMOTE_HOST}, but it's not 
guarantied. If you do not find it there you will have to do a reverse 
DNS lookup for the address in $ENV{REMOTE_ADDR}. (use Net::DNS :)

Jenda
 

== [EMAIL PROTECTED] == http://Jenda.McCann.cz ==
            FUCK THE ARMY!
                       Myself
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to