#!/usr/bin/perl

print "Content-type: text/html\n\n";

print "<html><head><title>IP Address Display</title></head><body>\n";
print "<h1>IP Address Display</h1>\n";

$ip = $ENV{'REMOTE_ADDR'};

print "You are using ip address $ip\n";
print "<p>\n";
print "</body></html>\n";