Magento 2, Magento Development, Customization, Extension Development and Integration, Optimization, SEO and Responsive Design

Magento 2, Magento Development, Customization, Extension Development and Integration, Optimization, SEO and Responsive Design

Email Validation with valid Host name in Magento

$value = $_REQUEST['id'];

 $validator = new Zend_Validate_EmailAddress();
             
 if ($validator->isValid($value))
{
          echo "Valid";
 }
 else
{
        echo "Invalid";
 }



Please support us, Like us on Facebook.

0 comments:

Post a Comment

 

Copyright @ 2017 HKBlog.