#!/usr/bin/perl use warnings; use strict; my $myip = $ENV{'REMOTE_ADDR'}; print "Content-type: text/html\n\n"; print "<html><head></head><body>my ip: $myip<br>"; print "</body></html>"; exit; Jeff Serena Cantor wrote:
I have 2 PCs that are connected to wireless router, which is connected to a cable modem. The two PCs form a private network. I want to know the IP used by Internet user to access one of PCs.____________________________________________________________________________________Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.http://smallbusiness.yahoo.com/webhosting