e-commerce site is getting hit by a scammer, and one pattern we see is he is avoiding creating duplicate accounts to catch him by simply throwing dots in his email.
ie. "my.em.ail@gmail.com", "m.ye.mail@gmail.com", "mye.ma.il@gmail.com"
I know this would just inconvenience him or others trying this into creating more emails, but that is no reason to not catch them all.
Our fraud prevention looks for high velocity duplicate orders, for example:
$email = 'myemail@gmail.com';
"SELECT * FROM `orders` WHERE `date` > '".date('Y-m-d H:i:s', time() - 60*60*24)."' AND `email` = '".$email."'"
How would I update the WHERE clause to include the above examples in this query?