View Single Post
Old 11-16-2012, 03:33 AM  
Naughty
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,477
Tired of fake accounts with hotmail, match name with address help

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;-)
__________________
seks.ai for sale - ping me
Naughty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote