- Joined
- Oct 20, 2007
- Messages
- 21
- Reaction score
- 0
EDIT:
A user can bypass it by putting other characters... For example:
If a user create an account named: "admin" It blocks it, but if someone create an account named: "33Admin22" it let him create the account. How can fix it?
____
I'm new in Php and i'm trying to put a filter when someone register on my website
I put this on top of the page
It doesn't work can some fix this problem?
A user can bypass it by putting other characters... For example:
If a user create an account named: "admin" It blocks it, but if someone create an account named: "33Admin22" it let him create the account. How can fix it?
____
I'm new in Php and i'm trying to put a filter when someone register on my website
I put this on top of the page
PHP:
$banword = array("admin","adm1n");
PHP:
elseif ($name == $banword){
echo 'username not allowed';
exit();
}
Last edited: