开发者

Email validation in PHP [duplicate]

This question already has answe开发者_运维技巧rs here: Closed 12 years ago.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜