in your form you specify method and action
method is either 'get' or 'post'
if it is get it shows up in the url line (something.cgi?name=xyz)
with post it gets sent to the cgi script through stdin
action is where it sends to, in this case your cgi script
in cgi you can find what has been sent fairly easily
Code:
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
@pairs = split(/&/, $buffer);
foreach $pair (@pairs) {
($name, $value) = split(/=/, $pair);
$value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$FORM{$name} = $value;
}
that sample is for post (notice the read STDIN)
search google for form parsing in perl for more examples
--will