LPM: getting ips

Ronald Edward Petty repett0 at sweb.uky.edu
Mon Mar 19 13:38:20 CST 2001


Any reason why there would be no ip shown?  I get Your IP Address =

and that is all
ron

On Mon, 19 Mar 2001, Gregg Casillo wrote:

> 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