PHP验证邮箱代码:
function isEmail($email) { return strlen($email) > 6 && preg_match("/^[\w\-\.]+@[\w\-\.]+(\.\w+)+$/", $email); }
http://www.cnblogs.com/roucheng/
PHP验证邮箱代码:
function isEmail($email) { return strlen($email) > 6 && preg_match("/^[\w\-\.]+@[\w\-\.]+(\.\w+)+$/", $email); }
http://www.cnblogs.com/roucheng/
相关文章: