[10,000 포인트] 로그인이 되지 않는 이유 정보
[10,000 포인트] 로그인이 되지 않는 이유본문
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$url = '';
if ($g4['https_url']) {
if (preg_match("/^\./", $urlencode))
$url = $g4[url];
else
$url = $g4[url].$urlencode;
} else {
$url = $urlencode;
}
?>
<script type="text/javascript" src="<?=$g4[path]?>/js/capslock.js"></script>
<div id="outlogin_wrap">
<h2>로그인을 하시면 더 많은 서비스를 즐기실 수 있습니다.</h2>
<form name="fhead" method="post" onsubmit="return fhead_submit(this);" autocomplete="off">
<input type="hidden" name="url" value="<?=$url?>" />
<table id="login_table">
<tr>
<td colspan="2"><input name="mb_id" type="text" class="ed" style="width:280px; padding:5px;" maxlength="20" required itemname="아이디" /></td>
</tr>
<tr>
<td colspan="2"><input name="mb_password" id="outlogin_mb_password" type="password" class="ed"style="width:280px; padding:5px; margin-top:5px;" maxlength="20" itemname="패스워드" /></td>
</tr>
<tr>
<td style="text-align:left;"><input type="checkbox" name="auto_login" style="margin-top:5px;" value="1" onclick="if (this.checked) { if (confirm('자동로그인을 사용하시면 다음부터 회원아이디와 패스워드를 입력하실 필요가 없습니다.\n\n\공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?')) { this.checked = true; } else { this.checked = false; } }" /> 자동로그인 사용</td>
<td style="text-align:right;"><input type="submit" id="btnLogin" value="로 그 인" /></td>
</tr>
</table>
</form>
</div>
<script type="text/javascript">
function fhead_submit(f)
{
if (!f.mb_id.value)
{
alert("회원아이디를 입력하십시오.");
f.mb_id.focus();
return false;
}
if (!f.mb_password.value)
{
alert("패스워드를 입력하십시오.");
f.mb_password.focus();
return false;
}
<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/login_check.php';";
else
echo "f.action = '$g4[bbs_path]/login_check.php';";
?>
f.submit();
}
</script>
<!-- 수정 -->
로그인 스킨을 만들고 있는데 로그인이 되지 않네요.
코드 상에 문제가 있나요?
댓글 전체

56 return true;
57 }
여기 위에 f.submit(); 이 빠져있군요..
이문제가 아닌가 사료됩니다..
57 }
여기 위에 f.submit(); 이 빠져있군요..
이문제가 아닌가 사료됩니다..
감사합니다 ^^

해결되셨다니 다행이네요...
전 아직도 끙끙.......ㅠㅠ
제껀 리플조차 안달림 으앙..
전 아직도 끙끙.......ㅠㅠ
제껀 리플조차 안달림 으앙..