これを非英数字に変更するにはどうすればよいですか? (グーグルでは、英数字が必要なものはすべて表示されます)
コード :
/* Check if username is not alphanumeric */
else if(!preg_match("/^[a-zA-Z0-9,]+$/", $subuser)){
$form->setError($field, "* Username not alphanumeric");
}
それは言い続ける
* Username not alphanumeric
これはエレギと一緒に持っていたときの古い部分でした
/* Check if username is not alphanumeric */
else if(!eregi("^([0-9a-z])+$", $subuser)){
$form->setError($field, "* Username not alphanumeric");
}