$FORM{'email'} not found in this ring.\n";
}
&footer;
}
# Check for all required fields
sub check_required {
foreach $check(@required) {
unless ($FORM{$check}) {
$check = "password" if ($check eq "pw");
&header;
print qq||
Missing Information |
I'm sorry, but it would appear that you've forgotten to
fill out the $check field.
Please click back and try again.
|;
&footer;
exit;
}
}
# Check for valid email
unless ($FORM{'email'} =~ /\w+@\w+.\w+/) {
&header;
print qq||
Bad E-mail |
The e-mail address that you've
entered, $FORM{'email'}, is invalid.
Please click back and try again.
|;
&footer;
exit;
}
}
sub check_pw {
if ($FORM{'pw'} ne $rlmain::adminpw) {
&header;
print qq||
Incorrect password | | Please click back and try again.
|;
&footer;
exit;
}
}
sub search_form {
&header;
print qq| |
|
|
|