我想检查用户是否已成功满足以下要求:
我该怎么做?
我正在使用下面的PHP脚本:
if ( strlen( $password ) < 8 ) { false } else { if ( preg_match( "/[^0,9]/", $password ) ) { // how to check the upper case and lower case } }
php security passwords
passwords ×1
php ×1
security ×1