|
From: Lo?c C. <lo...@us...> - 2001-04-23 19:50:16
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv9789/chat
Modified Files:
profile_reg.php3
Log Message:
Care of the case where 'checkdnsrr()' is disabled (php for windows can't be compiled with this function at this time, for example)
Index: profile_reg.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/profile_reg.php3,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** profile_reg.php3 2001/04/21 19:37:40 1.10
--- profile_reg.php3 2001/04/23 19:50:13 1.11
***************
*** 140,144 ****
$error = L_ERR_USR_8;
}
! else if (C_EMAIL_PASWD && !checkdnsrr(substr(strstr($email, '@'), 1), 'ANY'))
{
$error = L_ERR_USR_8;
--- 140,145 ----
$error = L_ERR_USR_8;
}
! else if ((C_EMAIL_PASWD && @checkdnsrr('www.w3.org', 'ANY'))
! && !checkdnsrr(substr(strstr($email, '@'), 1), 'ANY'))
{
$error = L_ERR_USR_8;
|