> I have a question regarding passing variables from a HTML > form to a CGI script. I have never worked with CGI in the > past and assumed that if I included the variables with in the > form and on submit called the CGI script that the variable > would be amiable to it. That doe not see, to be the case. Is > my assumption correct? > > I am attempting to use the variables by the following code: > > (param('account')) > > Is that correct?
Are you using the CGI module? When I grab what's passed by a form submission, I usually save a copy of them in a hash (assuming no multi-valued form elements will be present) like so: ----- use CGI; my $cgi = new CGI; our %F = (); $F{$_} = $cgi->param($_) for $cgi->param(); ----- You can now access your form values with $F{account} Please post more code (from your cgi script where you're trying to access the values passed from the form) if this doesn't fix your problem. HTH, -dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]