更新至v1.87.4,更新内容在Dzzoffice笔记中查看

This commit is contained in:
小胡
2024-03-16 17:33:16 +08:00
Unverified
parent dfa31fd1a1
commit f1db1c02da
30 changed files with 73 additions and 114 deletions

View File

@@ -627,12 +627,10 @@ function isemail($email)
{
return strlen($email) > 6 && strlen($email) <= 32 && preg_match("/^([A-Za-z0-9\-_.+]+)@([A-Za-z0-9\-]+[.][A-Za-z0-9\-.]+)$/", $email);
}
function isphone($phone)
{
return preg_match("/^1[3456789]\d{9,10}$/", $phone);
}
function quescrypt($questionid, $answer)
{
return $questionid > 0 && $answer != '' ? substr(md5($answer . md5($questionid)), 16, 8) : '';