print $ENV{REMOTE_ADDR};
you may dig out some more about the client
and your server by this :
foreach my $key(keys(%ENV))
{ print "$key = $ENV{$key}\n<br>" }
Rgds,
Connie
----- Original Message -----
From: "Vishal Kapoor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 26, 2002 11:55 PM
Subject: Displaying IP address.
> how do i display a persons ip address in cgi. they fill out a form and when
> the submit it, they should see the ip they are logged in from. the ip is for
> viewing purposes only.
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]