diff perltest/simple-ajax-example.cgi @ 0:477258d09353 boosterpack

[svn r1] initial import
author robert
date Sun, 30 Aug 2009 02:19:26 -0400
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perltest/simple-ajax-example.cgi	Sun Aug 30 02:19:26 2009 -0400
     1.3 @@ -0,0 +1,10 @@
     1.4 +#!C:/strawberry/perl/bin/perl.exe
     1.5 +use CGI;
     1.6 +
     1.7 +$query = new CGI;
     1.8 +
     1.9 +$secretword = $query->param('w');
    1.10 +$remotehost = $query->remote_host();
    1.11 +
    1.12 +print $query->header;
    1.13 +print "<p>The secret word is <b>$secretword</b> and your IP is <b>$remotehost</b>.</p>";
    1.14 \ No newline at end of file