Email validation in PHP
Possible Duplicate:
Is there a php library for email address validation?
Hi there, I was just wondering if any of you use a particular public script or set of functions for dealing with email validation in PHP. The built-in PHP function isn't really anything to brag about.
Thanks for your time.
I use to validate with cakephp function which can be found here
The regexp is this one:
'^[a-z0-9!#$%&*+/=?^_`{|}~-]+(?:.[a-z0-9!#$%&*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?.)+(?:[a-z]{2,4}|museum|travel)$'
and can be found here
链接地址: http://www.djcxy.com/p/92722.html上一篇: 邮件验证在PHP?
下一篇: PHP中的电子邮件验证