摘要:
//验证用户名的正则$user_name = 'user_name12';if (preg_match('/^[a-z\d_]{5,20}$/i', $user_name)) {echo 'your username is ok' . PHP_EOL . '';} else {echo 'your ... 阅读全文
摘要:
//验证用户名的正则$user_name = 'user_name12';if (preg_match('/^[a-z\d_]{5,20}$/i', $user_name)) {echo 'your username is ok' . PHP_EOL . '';} else {echo 'your ... 阅读全文