회원가입시 아이디를 소문자로만 받으려면 ? 정보
회원가입시 아이디를 소문자로만 받으려면 ?
본문
회원가입시 아이디를 소문자로만 받으려면
어떻게 하면 좋을까요?~
어떻게 하면 좋을까요?~
댓글 전체

skin/member/xxxxx/ 폴더의 join update 관련 스킨을 열어보시고, 업데이트 전에
소문자인지 체크하셔서 가입 시키면 됩니다.
소문자인지 체크하셔서 가입 시키면 됩니다.

어떤식으로 검사하면 되나요?~

bbs/register_form_update.php
// 자동등록방지 검사
//include_once ("./norobot_check.inc.php");
$key = get_session("captcha_keystring");
if (!($key && $key == $_POST[wr_key])) {
session_unregister("captcha_keystring");
alert("정상적인 접근이 아닌것 같습니다.");
}
$mb_id = strtolower($_POST[mb_id]); // 소문자
//$mb_id = strtoupper($_POST[mb_id]); // 대문자
이렇게 적용해 보세요..
// 자동등록방지 검사
//include_once ("./norobot_check.inc.php");
$key = get_session("captcha_keystring");
if (!($key && $key == $_POST[wr_key])) {
session_unregister("captcha_keystring");
alert("정상적인 접근이 아닌것 같습니다.");
}
$mb_id = strtolower($_POST[mb_id]); // 소문자
//$mb_id = strtoupper($_POST[mb_id]); // 대문자
이렇게 적용해 보세요..