★일반회원에서 회원정보수정이안돼요~★ 정보
★일반회원에서 회원정보수정이안돼요~★본문
댓글 전체

아작스에서 즉 현재페이지에서 update페이지로 가기전에 그문구가 뜬다면 확인하실 페이지는
/skin/member/멤버스킨폴더/ajax_mb_email_check.php 파일에서
where 구문에 mb_id <> '$reg_mb_id' 이게 빠졌는지 보시구요
update페이지로 넘어가서 문구가 뜬다면
/bbs/register_form_update.php페이지에서
대략 112줄에 이메일검사 쿼리에서 and mb_id <> '$mb_id' 구문이 빠졌는지 확인하시면 됩니다
/skin/member/멤버스킨폴더/ajax_mb_email_check.php 파일에서
where 구문에 mb_id <> '$reg_mb_id' 이게 빠졌는지 보시구요
update페이지로 넘어가서 문구가 뜬다면
/bbs/register_form_update.php페이지에서
대략 112줄에 이메일검사 쿼리에서 and mb_id <> '$mb_id' 구문이 빠졌는지 확인하시면 됩니다
update페이지로 넘어가기전에 문구가뜨는대용..
ajax_mb_email_check.php파일내용이이건대요..
<?
include_once("_common.php");
if (trim($reg_mb_email)=='') {
echo "110"; // 입력이 없습니다.
} else if (!preg_match("/([0-9a-zA-Z_-]+)@([0-9a-zA-Z_-]+)\.([0-9a-zA-Z_-]+)/", $reg_mb_email)) {
echo "120"; // E-mail 주소 형식에 맞지 않음
} else {
$row = sql_fetch(" select count(*) as cnt from $g4[member_table] where mb_id <> '$reg_mb_id' and mb_email = '$reg_mb_email' ");
if ($row[cnt]) {
echo "130"; // 이미 존재하는 회원아이디
} else {
//if (preg_match("/[\,]?{$reg_mb_email}\,/i", $config[cf_prohibit_id].","))
if (preg_match("/[\,]?{$reg_mb_email}/i", $config[cf_prohibit_id]))
echo "140"; // 예약어로 금지된 회원아이디
else
echo "000"; // 정상
}
}
?>
정상적인거맞나요~??
ajax_mb_email_check.php파일내용이이건대요..
<?
include_once("_common.php");
if (trim($reg_mb_email)=='') {
echo "110"; // 입력이 없습니다.
} else if (!preg_match("/([0-9a-zA-Z_-]+)@([0-9a-zA-Z_-]+)\.([0-9a-zA-Z_-]+)/", $reg_mb_email)) {
echo "120"; // E-mail 주소 형식에 맞지 않음
} else {
$row = sql_fetch(" select count(*) as cnt from $g4[member_table] where mb_id <> '$reg_mb_id' and mb_email = '$reg_mb_email' ");
if ($row[cnt]) {
echo "130"; // 이미 존재하는 회원아이디
} else {
//if (preg_match("/[\,]?{$reg_mb_email}\,/i", $config[cf_prohibit_id].","))
if (preg_match("/[\,]?{$reg_mb_email}/i", $config[cf_prohibit_id]))
echo "140"; // 예약어로 금지된 회원아이디
else
echo "000"; // 정상
}
}
?>
정상적인거맞나요~??