注册机制

//用户名需过滤的字符的正则
$stripChar = '?<*.>\'"';
if(preg_match('/['.$stripChar.']/is', $name)==){
$this->error('用户名中包含'.$stripChar.'等非法字符!');
}
05-11 11:03