Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
if (param()) { if($name) { if($email) { if(exists $emails{$email}) { print "<center><b>Email already exists in database +.</b></center>\n"; } else { $emails{$email} = "$info"; print "<center><b>Your information was added to ou +r system!</b></center>\n"; } else { print "Email was missing"; exit; } } else { print "Name was missing"; exit; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Form param checking
by Ovid (Cardinal) on Dec 29, 2003 at 22:27 UTC | |
by Anonymous Monk on Dec 29, 2003 at 22:45 UTC | |
|
Re: Form param checking
by PodMaster (Abbot) on Dec 29, 2003 at 22:31 UTC | |
|
Re: Form param checking
by Roger (Parson) on Dec 29, 2003 at 22:48 UTC | |
|
Re: Form param checking
by neuroball (Pilgrim) on Dec 29, 2003 at 22:59 UTC | |
by Anonymous Monk on Dec 30, 2003 at 01:38 UTC | |
by jeffa (Bishop) on Dec 30, 2003 at 16:49 UTC |