php - Zend_Validate_EmailAddress versus filter_var(..., FILTER_VALIDATE_EMAIL) -


of zend_validate_emailaddress , filter_var(..., filter_validate_email), better when validating email address , why?

both can used validate email address, zend_validate_emailaddress more powerful. while filter_var simple yes or no validator, there many options can change how strict zend_validate_emailaddress is.

you can choose parts validate, rules validating parts, , validate mx records.

finally, zend_validate_emailaddress can readily used in combination zend_filter_input , zend_form filter_var can't.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -