|
-
Who needs pants?
Whats faster?
Hey guys/gals im just making a user registration page and i want to validate the username so it's not a swear word. I thought about 2 ways to do this one is have a list of swear words in a txt file on new lines and check that file, or have a table in my database full of naughty words and check that. I already have a check to see if the username already exists. Dont want to make to many calls to the database. But which way would be better and faster?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|