Blasteh
Lord Farquaad
Hello,
Recently users have been registering with a lightning bolt, skulls, etc. I tried to fix it, but for some reason, they still can.
Here's my class.users.php code:
Recently users have been registering with a lightning bolt, skulls, etc. I tried to fix it, but for some reason, they still can.
Here's my class.users.php code:
HTML:
/*-------------------------------Checking of submitted data-------------------------------------*/
final public function validName($username)
{
if(strlen($username) <= 25 && preg_match("/^[a-zA-Z0-9]+$/", $username))
{
return true;
}
return false;
}