FORM password checking
How can i have least 6 characters with the first character being a letter AND have at least one upper-cased letter, a number, and a symbol (% or # or ~)?
1 member has voted
-
1. How can i have least 6 characters with the first character being a letter AND have at least one upper-cased letter, a number, and a symbol (% or # or ~)?
-
$pattern = '(^[a-zA-Z][A-Z]+[0-9]+[/%/#/`]+)';1
-
if (ereg($pattern,{$_POST['pwd_field']})) {0
-
Recommended Posts