php 手机 密码正则验证
摘要:
if(preg_match("/^134[0-8]\d{7}$|^13[^4]\d{8}$|^14[5-9]\d{8}$|^15[^4]\d{8}$|^16[6]\d{8}$|^17[0-8]\d{8}$|^18[\d]{9}$|^19[8,9]\d{8}$/",substr($_POST['userMobile'], -11))){ //验证通过 }else{ ... 阅读全文
posted @ 2018-03-15 09:20 奔跑的葛根 阅读(451) 评论(0) 推荐(0)
浙公网安备 33010602011771号