Mercurial > rlmcintyre
comparison BoosterPack/perltest/.svn/text-base/simple-ajax-example.cgi.svn-base @ 0:0d795f02a8bb tip
initial committ. what was I thinking?
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 27 Sep 2010 16:57:26 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:0d795f02a8bb |
---|---|
1 #!C:/strawberry/perl/bin/perl.exe | |
2 use CGI; | |
3 | |
4 $query = new CGI; | |
5 | |
6 $secretword = $query->param('w'); | |
7 $remotehost = $query->remote_host(); | |
8 | |
9 print $query->header; | |
10 print "<p>The secret word is <b>$secretword</b> and your IP is <b>$remotehost</b>.</p>"; |