경로 정리 - 큰일었어요!!!
This commit is contained in:
1 parent
5891f1a77a
commit
023d9233d2
623 files changed
+822
-7680
No files matched your search
@@ -1,19 +1,5 @@
|
||||
<?
|
||||
include_once('./_common.php');
|
||||
define('XXX', 111);
|
||||
|
||||
// 금지 메일 도메인 검사
|
||||
function prohibit_mb_email($reg_mb_email)
|
||||
{
|
||||
global $config;
|
||||
list($id, $domain) = explode("@", $reg_mb_email);
|
||||
$email_domains = explode("\n", trim($config['cf_prohibit_email']));
|
||||
for ($i=0; $i<count($email_domains); $i++) {
|
||||
if (strtolower($domain) == strtolower($email_domains[$i]))
|
||||
return $domain;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
echo prohibit_mb_email("kagla@naver.com");
|
||||
echo prohibit_mb_email("kagla@hanmail.net");
|
||||
print_r(get_defined_constants());
|
||||
?>
|
||||
Reference in new issue
Block a user