//判断密码是否合法 (PHP代码函数)
//代码来源:Monxin ./config/functions.php
function is_passwd($v){
$pattern="/^(\w){1,100}$/";
if(preg_match($pattern,$v)){
return true;
}else{
return false;
}
}
判断密码是否合法 (PHP代码函数)
最新推荐文章于 2021-12-28 11:06:46 发布
//判断密码是否合法 (PHP代码函数)
//代码来源:Monxin ./config/functions.php
function is_passwd($v){
$pattern="/^(\w){1,100}$/";
if(preg_match($pattern,$v)){
return true;
}else{
return false;
}
}