On Mon, Oct 26, 2009 at 4:26 PM, John Campbell <jcampbe...@gmail.com> wrote:
> On Mon, Oct 26, 2009 at 4:16 PM, Yogesh Agashe <yogesh.aga...@gmail.com> > wrote: > > Hi Konstantin, > > > > Thanks for the feedback. Right, So many cases to handle in there. I will > > also add minimum 2 characters to the list. > > May I ask, what is the point of all of this? Who benefits from you > imposing all sorts of piddly rules about what is in a name? Do you > benefit? Why go to the extra effort to make your code only work for > 99% of American English names. If you do nothing, your code will work > for any name, and you will have more free time to do something > worthwhile. > Maybe you just want to protect users from their own mistakes, so they don't input Hen3ry where they mean Henry. > > BTW, I just checked my database, and I have 2 icelandic customers > that don't even have last names on their credit cards. I am glad I > don't do validation, because if I did, I probably would have lost > those customers. > I guess it depends on the application and the type of data you expect. -- Demand health care for everyone: http://mobilizeforhealthcare.org/ -- David Mintz http://davidmintz.org/
_______________________________________________ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation