robert@0: #!C:/strawberry/perl/bin/perl.exe
robert@0: use CGI;
robert@0: 
robert@0: $query = new CGI;
robert@0: 
robert@0: $secretword = $query->param('w');
robert@0: $remotehost = $query->remote_host();
robert@0: 
robert@0: print $query->header;
robert@0: print "<p>The secret word is <b>$secretword</b> and your IP is <b>$remotehost</b>.</p>";