Created
March 17, 2020 01:24
-
-
Save jaccon/dcef0fc4ab0636e23ac6e3b1565862bb to your computer and use it in GitHub Desktop.
PHP native method to e-mail validation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (filter_var($address, FILTER_VALIDATE_EMAIL)) { | |
echo "$address"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment