[CTS] Ip Grabber Help

  • From: "Peter" <lists@xxxxxxxxxxxxxxxxxxx>
  • To: <computertalkshop@xxxxxxxxxxxxx>
  • Date: Fri, 23 Feb 2001 10:30:50 -0800

Several weeks back I inquired about displaying a users IP address on a web
page. I've been so busy, I finally getting a chance to apply the solution
that John gave me. I created the perl script:

~~~~~~~~~~~~~~~~~~
#!/usr/bin/perl

print <<"end"; Content-Type:text/html

print $ENV{'REMOTE_ADDR'};

end
~~~~~~~~~~~~~~~~~~

I then proceed to apply the following in the html page:

<!--#exec cgi="/cgi-bin/ip.pl" -->

I uploaded the new html and nada, nothing!

Any suggestions? Thanks in advance!

Peter


---------------------------------------------------------------------------
-----
Computer Talk Shop
To un-subscribe, http://questforcertification.com/cts/unsubscribe.htm

List HowTo: http://questforcertification.com/cts/faq

To join Computer Talk Shop's off topic list, please goto:
http://questforcertification.com/cts/other_cts_lists.htm
---------------------------------------------------------------------------
------

Other related posts: