situation: A user inputs a user name and password. now the user enters a user name called Game_Admin. Thus tries to imitate being a head power of the site and scam others.
At the moment My log in script check for Length Characteristics, and to see if it already exist. My question how do I go about checking to see if a player enters a specific grouping of characters in our example the grouping i am trying to stop duplication of is "Admin". So If the word Admin ever appears whether it is (myAdminaccount ,pizzaAdmin, GreatestAdmin). I am wondering would I use a loop of some sort to search through each user name character by character or is their another easier way?
Than you everyone for your suggestions Indeed there are many ways to go about this situation. I hope this topic can be a good reference for others who decide to use type if check. I am putting them all to the test and weighing out my options but I believe I have found the solution that works best for me :)