Home >php教程 >php手册 >邮件校验

邮件校验

WBOY
WBOYOriginal
2016-06-06 19:32:24870browse

无详细内容 无 function isEmail($email) {return strlen($email) 6 preg_match("/^[\w\-\.]+@[\w\-\.]+(\.\w+)+$/", $email);}

function isEmail($email) {
		return strlen($email) > 6 && preg_match("/^[\w\-\.]+@[\w\-\.]+(\.\w+)+$/", $email);
	}
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn