BDG
Banned User
- Joined
- Nov 26, 2012
- Messages
- 84
- Reaction score
- 1
Hello l need blocking create guild of special names xx and xx ;P please help me
config and function.php
config and function.php
Code:
function check_guild_name($name)
{
$temp = strspn("$name", "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM0123456789 ");
if($temp != strlen($name))
{
return false;
}
else
{
$ok = "/[a-zA-Z ]{6,23}/";
return (preg_match($ok, $name))? true: false;
}
}