註冊機制

//使用者名稱需過濾的字元的正則
$stripChar = '?<*.>\'"';
if(preg_match('/['.$stripChar.']/is', $name)==){
$this->error('使用者名稱中包含'.$stripChar.'等非法字元!');
}