跳至
[1]
[全屏预览]
//检测邮箱
function isEmail($val){
$patrn='/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.|\-]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/';
if(preg_match($patrn,$val)){
if(_filterTempMail($val)){
return true;
}else{
return false;
}
}else{
return false;
}
}
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