Reply to RE: [PHP] Re: email validation (no regex)

Your name:

Reply:


Posted by Jim Moseby on 09/21/05 22:21

>
> btw simply checking for a single '@' with a domain doesn't do
> it... what if
> the user has 'foo@1.2.3.4' or 'r+foo@1.2.3.4'. will your
> regex accept/deny
> this???

My function will quickly deny those because the DNS lookup for them will
immediately fail. Will your regex deny 'bogususer@bogusdomain.com'? Should
it?

> welcome to the world of email validation

That's your world. Mine is much simpler. :o) Seriously, I think Ben and
Manuel have it right. A combination approach is probably most effective
(and complex). I was hoping for a simple solution for the regex challenged.
Of course the old tried and true validation email that requires the user to
validate himself is the most fool-proof method, but thats not an on-the-fly
solution.

JM

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация