From: <on...@us...> - 2002-09-20 17:06:16
|
Update of /cvsroot/xoops/xoops-current/html/include In directory usw-pr-cvs1:/tmp/cvs-serv20248 Modified Files: functions.php Log Message: no message Index: functions.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/include/functions.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** functions.php 18 Sep 2002 11:54:29 -0000 1.14 --- functions.php 20 Sep 2002 17:06:13 -0000 1.15 *************** *** 160,164 **** function checkEmail($email){ ! if (!$email || !eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+([\.][a-z0-9-]+)+$",$email)){ return false; } --- 160,164 ---- function checkEmail($email){ ! if (!$email || !preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+([\.][a-z0-9-]+)+$/i",$email)){ return false; } |