LPM: getting ips

Gregg Casillo gcasillo at ket.org
Mon Mar 19 13:23:36 CST 2001


This simple CGI script should do the trick:

#!/usr/bin/perl

print "Content-type: text/html\n\n";
print "Your IP Address = $ENV{REMOTE_HOST}";
__END__


Gregg Casillo
Web Programmer, KET


Ronald Edward Petty wrote:

> anyone have a script to show how to get a visitor ip for netscape and ie?
> I can't seem to get one for both to work...
> ron
> 
> 
> 




More information about the Lexington-pm mailing list