$member_profile_errors[] = translate_error('invalid_email');
     }
     if (invalid_dob($_POST['member_profile_dob'])) {
         $member_profile_errors[] = translate_error('invalid_dob');
     }
     if ($_POST['member_profile_password']) {
         if (short_pass($_POST['member_profile_password'])) {
             $member_profile_errors[] = translate_error('short_pass');
         }
         if (long_pass($_POST['member_profile_password'])) {
             $member_profile_errors[] = translate_error('long_pass');
         }
         if (no_number_pass($_POST['member_profile_password'])) {
             $member_profile_errors[] = translate_error('no_number_pass');
         }
         if (no_letter_pass($_POST['member_profile_password'])) {
             $member_profile_errors[] = translate_error('no_letter_pass');
         }
         /*
         if (no_caps_pass($_POST['member_profile_password'])) {
         	$member_profile_errors[] = translate_error('no_caps_pass');
         }
         if (no_symbol_pass($_POST['member_profile_password'])) {
         	$member_profile_errors[] = translate_error('no_symbol_pass');
         }
         */
         if (not_match_pass($_POST['member_profile_password'], $_POST['member_profile_repeat_password'])) {
             $member_profile_errors[] = translate_error('not_match_pass');
         }
     }
 }
Example #2
0
     $member_register_errors[] = translate_error('invalid_email');
 } else {
     if (taken_email($_POST['member_register_email'])) {
         $member_register_errors[] = translate_error('taken_email');
     }
 }
 if (short_pass($_POST['member_register_password'])) {
     $member_register_errors[] = translate_error('short_pass');
 }
 if (long_pass($_POST['member_register_password'])) {
     $member_register_errors[] = translate_error('long_pass');
 }
 if (no_number_pass($_POST['member_register_password'])) {
     $member_register_errors[] = translate_error('no_number_pass');
 }
 if (no_letter_pass($_POST['member_register_password'])) {
     $member_register_errors[] = translate_error('no_letter_pass');
 }
 /*
 if (no_caps_pass($_POST['member_register_password'])) {
 	$member_register_errors[] = translate_error('no_caps_pass');
 }
 if (no_symbol_pass($_POST['member_register_password'])) {
 	$member_register_errors[] = translate_error('no_symbol_pass');
 }
 */
 if (not_match_pass($_POST['member_register_password'], $_POST['member_register_repeat_password'])) {
     $member_register_errors[] = translate_error('not_match_pass');
 }
 if (invalid_dob($_POST['member_register_dob'])) {
     $member_register_errors[] = translate_error('invalid_dob');