Re: [php-49] regex name validators

From: Jd D.
Sent on: Wednesday, February 20, 2013 5:51 PM

<?php if ($name != 'PleaseSirImNotARobot') die; ?>

GL finding a filter list for this =(


On Wed, Feb 20, 2013 at 5:34 PM, Joshua I. Carter <[address removed]> wrote:
Well, you can... But you'd have to first develop an AI, then feed it a dictionary of names from every language, then let it learn.  Then whenever a name is inputted, you call your massive AI to check against the "is this a real name" algorithm.  While, this would be a neat project, the dev cost and load you'll put on your server isn't really worth it.

David's suggestion is a far better validation method.  Or you can use Facebook/Twitter/Google integration.


On Wed, Feb 20, 2013 at 5:29 PM, David Malouf <[address removed]> wrote:

Pretty sure you can't.  You can't whitelist all possible names(!) nor blacklist due mainly to there not being a "standard" for spelling names :-)

Is there any other identifier you can use that will make you feel 'better' about the user? Email, maybe (as it can be validated)?

My 2 cents,
David Malouf

On Feb 20,[masked]:03 PM, "Bhupendra Acharya" <[address removed]> wrote:

How do i restrict the user from providing first name or last name as  'aabbacc' or any other kind of fake style in the registration form?
 
Thanks
Bhupendra Acharya







--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Bhupendra Acharya ([address removed]) from The Seattle PHP Meetup Group.
To learn more about Bhupendra Acharya, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by David Malouf ([address removed]) from The Seattle PHP Meetup Group.
To learn more about David Malouf, visit his/her member profile



--
~Joshua I. Carter




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Joshua I. Carter ([address removed]) from The Seattle PHP Meetup Group.
To learn more about Joshua I. Carter, visit his/her member profile



--
Jd Daniel || ERADO
Senior Applications Architect
7901 Delridge Way SW #36D, Seattle
C.   [masked]

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy