addressalign-toparrow-leftarrow-leftarrow-right-10x10arrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcredit-cardcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1languagelaunch-new-window--smalllight-bulblightning-boltlinklocation-pinlockm-swarmSearchmailmediummessagesminusmobilemoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstar-shapestartickettrashtriangle-downtriangle-uptwitteruserwarningyahooyoutube

Re: [php-49] regex name validators

From: Joshua I. C.
Sent on: Wednesday, February 20, 2013, 5:33 PM
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

People in this
group are also in: