보안 SSL 적용시 회원가입 수정 문의 정보
보안 SSL 적용시 회원가입 수정 문의본문
보안 SSL 수정시 member/basic/register_form.php 를 수정하려는데 예전 소스라서 수정을 하려는데
<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/register_form_update.php';";
else
echo "f.action = './register_form_update.php';";
?>
위 부분을 적용하라는데 아래처럼 소스가 있어서 어디부분에 넣어야 할지 궁금합니다.
f.action = "./register_form_update.php";
f.submit();
부분에 대체하니 적용되지 않습니다.
----- 수정하고 싶은 부분 ------
if (typeof(f.mb_recommend) != 'undefined') {
if (f.mb_id.value == f.mb_recommend.value) {
alert("본인을 추천할 수 없습니다.");
f.mb_recommend.focus();
return;
}
}
if (typeof(f.wr_key) != "undefined") {
if (hex_md5(f.wr_key.value) != md5_norobot_key) {
alert("자동등록방지용 빨간글자가 순서대로 입력되지 않았습니다.");
f.wr_key.focus();
return;
}
}
f.action = "./register_form_update.php"; ----> 이부분을 어떻게 수정해야 하는지 알고싶어요.
f.submit(); -----> 이부분을 어떻게 수정해야 하는지 알고 싶어요.
}
도움글 부탁 드립니다.
<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/register_form_update.php';";
else
echo "f.action = './register_form_update.php';";
?>
위 부분을 적용하라는데 아래처럼 소스가 있어서 어디부분에 넣어야 할지 궁금합니다.
f.action = "./register_form_update.php";
f.submit();
부분에 대체하니 적용되지 않습니다.
----- 수정하고 싶은 부분 ------
if (typeof(f.mb_recommend) != 'undefined') {
if (f.mb_id.value == f.mb_recommend.value) {
alert("본인을 추천할 수 없습니다.");
f.mb_recommend.focus();
return;
}
}
if (typeof(f.wr_key) != "undefined") {
if (hex_md5(f.wr_key.value) != md5_norobot_key) {
alert("자동등록방지용 빨간글자가 순서대로 입력되지 않았습니다.");
f.wr_key.focus();
return;
}
}
f.action = "./register_form_update.php"; ----> 이부분을 어떻게 수정해야 하는지 알고싶어요.
f.submit(); -----> 이부분을 어떻게 수정해야 하는지 알고 싶어요.
}
도움글 부탁 드립니다.
댓글 전체

<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/register_form_update.php';";
else
echo "f.action = './register_form_update.php';";
?>
f.submit();
이렇게 하시면 됩ㄴ다.
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/register_form_update.php';";
else
echo "f.action = './register_form_update.php';";
?>
f.submit();
이렇게 하시면 됩ㄴ다.