PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 16th, 2012, 04:27 AM
Inpresif Inpresif is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 124 Inpresif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 26 m 43 sec
Reputation Power: 10
Send a message via ICQ to Inpresif
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 "pp123435@hotmail.com";

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.



Paul.

Reply With Quote
  #2  
Old November 16th, 2012, 04:54 AM
Jacques1's Avatar
Jacques1 Jacques1 is offline
pollyanna
Click here for more information.
 
Join Date: Jul 2012
Location: Germany
Posts: 1,845 Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 1 Day 8 h 37 m 27 sec
Reputation Power: 813
Hi,

filtering a specific email pattern makes no sense to me, since this will also block legitimate users.

Are those "people" you want to get rid of actual people or bots? Because most bots are pretty stupid and can be detected easily by using hidden fields. I also had a problem with massive fake registrations in my forum and could fight them off completely just by making the standard phpbb registration fields hidden. If a user still fills out the fields, it's obviously a bot. The great thing about this is that legitimate users aren't bothered at all (in contrast to captchas).

Reply With Quote
  #3  
Old November 16th, 2012, 06:25 AM
Inpresif Inpresif is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 124 Inpresif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 26 m 43 sec
Reputation Power: 10
Send a message via ICQ to Inpresif
Its actually a precaution for 'real' cheaters i guess. No bots.
We own a cashback program, these people register and find the stores where they can get most money back, then go to that store and try to fake orders. We have already been canned by 4 stores due to these people that tried to cheat their way into getting cashback.

What works for now, is the following:
Quote:
if (!(preg_match("/($fname|$lname)/i", $email)==TRUE) && (preg_match("/(\@hotmail)/i", $email)==TRUE))
{
echo "Not OK";
}
else
{
echo "OK";
}


However i do of course agree with you on all counts, we just have to make it work, somehow.

I do know however that real, honest people use real, normal emailadresses. If the small % of people that use these weird hotmail addresses get halted by this method, i do present them with a nice note explaining why. I am sure they will not be offended.

Any other method is welcome.

Reply With Quote
  #4  
Old November 16th, 2012, 06:57 AM
Inpresif Inpresif is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 124 Inpresif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 26 m 43 sec
Reputation Power: 10
Send a message via ICQ to Inpresif
What i am wondering though is, where do all these people come from. They outnumber the amount of real members at this time (this week only). Our stats show no referrers so it is hard to pinpoint where they come from. A dead giveaway is the different IP's they use, which we DO keep track of.

Reply With Quote
  #5  
Old November 16th, 2012, 06:39 PM
Jacques1's Avatar
Jacques1 Jacques1 is offline
pollyanna
Click here for more information.
 
Join Date: Jul 2012
Location: Germany
Posts: 1,845 Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level)Jacques1 User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 1 Day 8 h 37 m 27 sec
Reputation Power: 813
I'd still try hidden fields, because I can hardly believe that those frauds actually fill out the registration fields by hand. The registration is probably done by bots and only the orders by actual people (if at all).

Apart from that, there's no technical solution for this problem. If those people aren't completely braindead, they'll soon figure out that you have blacklisted hotmail addresses, and they'll simply switch to gmail or whatever.

Reply With Quote
  #6  
Old November 17th, 2012, 06:29 AM
Inpresif Inpresif is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 124 Inpresif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 26 m 43 sec
Reputation Power: 10
Send a message via ICQ to Inpresif
Quote:
Originally Posted by Jacques1
I'd still try hidden fields, because I can hardly believe that those frauds actually fill out the registration fields by hand. The registration is probably done by bots and only the orders by actual people (if at all).

Apart from that, there's no technical solution for this problem. If those people aren't completely braindead, they'll soon figure out that you have blacklisted hotmail addresses, and they'll simply switch to gmail or whatever.
They already tried with gmail, mail15, rocketmail. All added to my routine and registrations stopped immediately after that. For now;-)

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > Tired of fake accounts with hotmail, match name with address help

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap