Simple Ajax Example

The Javascript:


The HTML Form :

word:

The server side script (simple-ajax-example.cgi) :

#!/usr/bin/perl -w

use CGI;

$query = new CGI;

$secretword = $query->param('w');

$remotehost = $query->remote_host();

print $query->header;

print "

The secret word is $secretword and your IP is $remotehost.

";

Lake Tahoe 2009

This was some time in July. I haven’t logged onto my blog for a while.

LakeTa (1 of 43)LakeTa (2 of 43)LakeTa (3 of 43)LakeTa (4 of 43)LakeTa (5 of 43)LakeTa (6 of 43)LakeTa (7 of 43)LakeTa (8 of 43)LakeTa (9 of 43)LakeTa (10 of 43)LakeTa (11 of 43)LakeTa (12 of 43)LakeTa (13 of 43)LakeTa (14 of 43)LakeTa (15 of 43)LakeTa (16 of 43)LakeTa (17 of 43)LakeTa (18 of 43)LakeTa (19 of 43)LakeTa (20 of 43)LakeTa (21 of 43)LakeTa (22 of 43)LakeTa (23 of 43)LakeTa (24 of 43)LakeTa (25 of 43)LakeTa (26 of 43)LakeTa (27 of 43)LakeTa (28 of 43)LakeTa (29 of 43)LakeTa (30 of 43)LakeTa (31 of 43)LakeTa (32 of 43)LakeTa (33 of 43)LakeTa (34 of 43)LakeTa (35 of 43)LakeTa (36 of 43)LakeTa (37 of 43)LakeTa (38 of 43)LakeTa (40 of 43)LakeTa (41 of 43)LakeTa (42 of 43)LakeTa (43 of 43)