Hi,
I made a start of this code but i need some help.
We're getting tired of frauds trying to make a buck with fake accounts.
What we want to do is block people using the following sort of method:
Their names are normal, like "John James", with an email like "bigman23454@hotmail..."
These accounts are flagged immediately, but i want to prevent them for becoming as member at all. Nothing good comes of these people.
I have this:
PHP Code:
$fname = "pp";
$lname = "gtr";
$email = "[email protected]";
echo (preg_match("/^([$fname\._-|$lname\._-])*@([hotmail])+([a-zA-Z0-9\._-]+)+$/", $email)==TRUE)?"Good":"Bad";
Tried this line too:
PHP Code:
echo (preg_match("/^([$fname\._-])+([$lname\._-])*@([hotmail])+([a-zA-Z0-9\._-]+)+$/", $email)==TRUE)?"Good":"Bad";
It does not work 100%. It does some, but not right;-)
Please help;-)