in reply to POSTing values to a perl script
and used the CGI<http:serverpost id="foo" #i used 'name' before... that did not work. targetURL="/cgi-bin/logger.pl" onHTTPResponseReceived="alert('this.responseText;')" />
thanks everyone for the enlightenment~#!/usr/bin/perl -w use CGI; #CGI stuff my $q = new CGI; my %f; #($f) should be declared as a hash foreach my $i ($q->param()) { $f{$i} = $q->param($i); } my $empid = $q->param('empid'); my $code = $q->param('code'); #sql things follow...
|
|---|