Hi - first time posting here
I want to use one script with multiple functions to
process a variety of forms/information.
in my script I declare the action variable and give it
instructions:
# get the action
my $ACTION = $Q->param('action') || "";
if ($ACTION eq "check_password")
{
check_
Kris Seraphine wrote:
> I want to use one script with multiple functions to
> process a variety of forms/information.
>
> in my script I declare the action variable and give it
> instructions:
>
> # get the action
> my $ACTION = $Q->param('action') || "";
> if ($ACTION eq "check_password")
is
[reply cc'd to list]
Kris Seraphine wrote:
> yes it is.
unless you have it spelled wrong in the form, i don't see why it
shouldn't be working.
try doing this:
use CGI;
use Data::Dumper;
my $Q = new CGI;
my $ACTION = $Q->param('action') || '';
print "ACTION: ", Dumper($ACTION);
and see what
--- fliptop <[EMAIL PROTECTED]> wrote:
> try doing this:
>
> use CGI;
> use Data::Dumper;
> my $Q = new CGI;
> my $ACTION = $Q->param('action') || '';
> print "ACTION: ", Dumper($ACTION);
>
> and see what you're getting for $ACTION
Perhaps even better would be to do this:
print Dumper( $Q