in reply to Re: Re: Re: Debugging Perl .cgi forms
in thread Debugging Perl .cgi forms
Thanks.#!/usr/bin/perl -w use strict; use CGI; my $query = new CGI; my $error_message = ""; my $pwd = ""; ############################################### # # # Variable initiation # # # ############################################### my $form_submission_check = "Submit"; # Set to the +name of an object on the form ############################################### # # # Script program logic # # # ############################################### if ($query->param('cancel')) { &get_password; } elsif ($query->param('change1')) { &change_password(); } elsif ($query->param('change2')) { &process_change_password(); } else { $pwd = $query->param('password'); if ($pwd eq "suckmydick") { $pwd = 1; &form; } else { &get_password(); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 5: Debugging Perl .cgi forms
by tilly (Archbishop) on Apr 01, 2001 at 07:38 UTC |