Possible Duplicate:
Algorithms for string similarities (better than Levenshtein, and similar_text)? Php, Js
I have a website that allow users to create accounts to refer others friend. And save these accounts into Database Table. But I have a problem is there's some people who create multiple account with email like nike@gmail.com, nike1@gmail.com, nike2@gmail.com and so on.
Is there a way to check that in the database is these email have more that three block all these email?
I am using Php for this application.