#!/agl/tools/perl/bin/perl use strict; my $file = 'home/testuser3/choicebug.txt'; my $webparams = GetParams(); open(FILE, ">>$file")||die "Can't open $file"; print FILE "$webparams\n"; close (FILE); exit; sub GetParams { my $webparams; if ($ENV{'QUERY_STRING'} ne '') { $webparams = "$ENV{'QUERY_STRING'}"; } else { read(STDIN, $webparams, $ENV{'CONTENT_LENGTH'}); } return $webparams; }
In reply to Re: save form
by ChrisR
in thread save form
by Anonymous2003
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |