Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Php Filter function
- public function isEmail($email = null) {
- if (!empty($email)) {
- $result = filter_var($email, FILTER_VALIDATE_EMAIL);
- return !$result ? false : true;
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement