로그인이 왜 안될까요...ㅠㅠ 한번만 봐주세요.. 정보
로그인이 왜 안될까요...ㅠㅠ 한번만 봐주세요..본문
http://www.wednlife.co.kr/bbs/login.php?wr_id=22&url=.%2Fboard.php%3Fbo_table%3Dnotice%26wr_id%3D22
로그인창을 이렇게 만들었는데요,
기본 베이직 스킨 참고해서 내용 똑같이 만들었는데
이상하게 로그인이 안되네요...ㅠㅠ
베이직 스킨으로 했을때는 되는데요..
왜 안되는걸까요.. 아무리 뜯어봐도 모르겠어서..
이렇게 또 질문올려봅니다..
혹시 아신다면 답변해주시면 정말 큰 도움이 될 것 같습니다..
마감이 얼마 안남아서 맘이 급해지네요..
부탁드립니다..(__)
테스트 해보실 수 있는 아이디 : test0 비밀번호 :test0
로그인창을 이렇게 만들었는데요,
기본 베이직 스킨 참고해서 내용 똑같이 만들었는데
이상하게 로그인이 안되네요...ㅠㅠ
베이직 스킨으로 했을때는 되는데요..
왜 안되는걸까요.. 아무리 뜯어봐도 모르겠어서..
이렇게 또 질문올려봅니다..
혹시 아신다면 답변해주시면 정말 큰 도움이 될 것 같습니다..
마감이 얼마 안남아서 맘이 급해지네요..
부탁드립니다..(__)
테스트 해보실 수 있는 아이디 : test0 비밀번호 :test0
댓글 전체
test 해 보니,
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='%2Fbbs%2Flogin.php'>
부분을
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$url?>'>
바로 위 소스로 바꾸시고용~
input 부분을 아뒤/암호 전부 다 아래처럼 바꾸니 이상없이 돌아가더군요^^;;
name=mb_id2 로 되 있으시던데.......;;;;;;;;;;;
원본 소스에서 디자인만 변경하신 거라면 아래로 바꾸셔서 효과만 주시면 될것 같습니다.^^
<INPUT class=box1 maxLength=20 size=15 name=mb_id itemname="아이디" required minlength="2">
<INPUT type=password class=box1 maxLength=20 size=15 name=mb_password itemname="패스워드" required>
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='%2Fbbs%2Flogin.php'>
부분을
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$url?>'>
바로 위 소스로 바꾸시고용~
input 부분을 아뒤/암호 전부 다 아래처럼 바꾸니 이상없이 돌아가더군요^^;;
name=mb_id2 로 되 있으시던데.......;;;;;;;;;;;
원본 소스에서 디자인만 변경하신 거라면 아래로 바꾸셔서 효과만 주시면 될것 같습니다.^^
<INPUT class=box1 maxLength=20 size=15 name=mb_id itemname="아이디" required minlength="2">
<INPUT type=password class=box1 maxLength=20 size=15 name=mb_password itemname="패스워드" required>
답변감사합니다..^^ 근데 그렇게 변경했는데도 여전히 안되네요..ㅠㅠ 왜 그런걸까요..
이상하네요^^;; 소스 쫌 붙여 주세요^^;;;
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$url = '';
if ($g4['https_url']) {
if (preg_match("/^\./", $urlencode))
$url = $g4[url];
else
$url = $g4[url].$urlencode;
} else {
$url = $urlencode;
}
?><style type="text/css">
<!--
body {
background-color: #2b231b;
}
-->
</style>
<table width="492" border="0" cellspacing="0" cellpadding="0"><form name=fmemberconfirm method=post action="javascript:fmemberconfirm_submit(document.fmemberconfirm);">
<input type=hidden name=mb_id value='<?=$member[mb_id]?>'>
<input type=hidden name=w value='u'>
<tr>
<td width="492" height="31"> </td>
</tr>
<tr>
<td height="367"><table width="483" border="0" cellpadding="0" cellspacing="0">
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$url?>'>
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$url?>'>
<!-- <tr align="center">
<td colspan="3"><img src="<?=$member_skin_path?>/img/login_title.gif" width="624" height="72"></td>
</tr> -->
<tr>
<td width="483" height="337" align="center" valign="top" background="<?=$member_skin_path?>/img/bg.gif"><table width="350" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td width="235" height="146" valign="top">
<table width="234" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10"> </td>
<td width="73" height="114"> </td>
<td width="151" valign="bottom"><INPUT class=box1 maxLength=20 size=25 style='COLOR:#000000; height:19px; background-color:#e8ddbb; border:0px;' name=mb_id itemname="아이디" required minlength="2"></td>
</tr>
<tr>
<td> </td>
<td height="29"> </td>
<td valign="bottom"><INPUT type=password class=box1 maxLength=20 size=25 style='COLOR:#000000; height:19px; background-color:#e8ddbb; border:0px;' name=mb_password itemname="패스워드" required></td>
</tr>
</table></td>
<td width="115"><table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="69" valign="bottom"><INPUT name="image" type=image src="<?=$member_skin_path?>/img/b_login.gif" width="70" height="50" border=0></td>
<td> </td>
</tr>
<tr>
<td height="3"></td>
<td height="3"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="13" colspan="2"></td>
</tr>
<tr>
<td height="1" colspan="2"></td>
</tr>
<tr valign="top">
<td height="48" colspan="2"><table width="240" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12"> </td>
<td width="228"> </td>
</tr>
<tr>
<td height="29"> </td>
<td align="right"><a href="http://www.wednlife.co.kr/log.html" target="_parent"><img src="<?=$member_skin_path?>/img/b_join.gif" width="86" height="25" border=0 align="absmiddle"></a></td>
</tr>
</table></td>
</tr>
<tr align="left">
<td height="124" colspan="2"><table width="328" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="302" height="48" align="right" valign="bottom"><a href="javascript:;" onclick="win_password_forget('./password_forget.php');"><img src="<?=$member_skin_path?>/img/b_id.gif" width="115" height="25" border=0 align="absmiddle"></a></td>
<td width="26"> </td>
</tr>
<tr>
<td height="26" valign="middle"> </td>
<td> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="37" align="center" valign="top"> </td>
</tr>
</form>
</table>
<script language='Javascript'>
document.flogin.mb_id.focus();
function flogin_submit(f)
{
f.action = "./login_check.php";
f.submit();
}
</script>
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$url = '';
if ($g4['https_url']) {
if (preg_match("/^\./", $urlencode))
$url = $g4[url];
else
$url = $g4[url].$urlencode;
} else {
$url = $urlencode;
}
?><style type="text/css">
<!--
body {
background-color: #2b231b;
}
-->
</style>
<table width="492" border="0" cellspacing="0" cellpadding="0"><form name=fmemberconfirm method=post action="javascript:fmemberconfirm_submit(document.fmemberconfirm);">
<input type=hidden name=mb_id value='<?=$member[mb_id]?>'>
<input type=hidden name=w value='u'>
<tr>
<td width="492" height="31"> </td>
</tr>
<tr>
<td height="367"><table width="483" border="0" cellpadding="0" cellspacing="0">
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$url?>'>
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$url?>'>
<!-- <tr align="center">
<td colspan="3"><img src="<?=$member_skin_path?>/img/login_title.gif" width="624" height="72"></td>
</tr> -->
<tr>
<td width="483" height="337" align="center" valign="top" background="<?=$member_skin_path?>/img/bg.gif"><table width="350" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td width="235" height="146" valign="top">
<table width="234" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10"> </td>
<td width="73" height="114"> </td>
<td width="151" valign="bottom"><INPUT class=box1 maxLength=20 size=25 style='COLOR:#000000; height:19px; background-color:#e8ddbb; border:0px;' name=mb_id itemname="아이디" required minlength="2"></td>
</tr>
<tr>
<td> </td>
<td height="29"> </td>
<td valign="bottom"><INPUT type=password class=box1 maxLength=20 size=25 style='COLOR:#000000; height:19px; background-color:#e8ddbb; border:0px;' name=mb_password itemname="패스워드" required></td>
</tr>
</table></td>
<td width="115"><table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="69" valign="bottom"><INPUT name="image" type=image src="<?=$member_skin_path?>/img/b_login.gif" width="70" height="50" border=0></td>
<td> </td>
</tr>
<tr>
<td height="3"></td>
<td height="3"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="13" colspan="2"></td>
</tr>
<tr>
<td height="1" colspan="2"></td>
</tr>
<tr valign="top">
<td height="48" colspan="2"><table width="240" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12"> </td>
<td width="228"> </td>
</tr>
<tr>
<td height="29"> </td>
<td align="right"><a href="http://www.wednlife.co.kr/log.html" target="_parent"><img src="<?=$member_skin_path?>/img/b_join.gif" width="86" height="25" border=0 align="absmiddle"></a></td>
</tr>
</table></td>
</tr>
<tr align="left">
<td height="124" colspan="2"><table width="328" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="302" height="48" align="right" valign="bottom"><a href="javascript:;" onclick="win_password_forget('./password_forget.php');"><img src="<?=$member_skin_path?>/img/b_id.gif" width="115" height="25" border=0 align="absmiddle"></a></td>
<td width="26"> </td>
</tr>
<tr>
<td height="26" valign="middle"> </td>
<td> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="37" align="center" valign="top"> </td>
</tr>
</form>
</table>
<script language='Javascript'>
document.flogin.mb_id.focus();
function flogin_submit(f)
{
f.action = "./login_check.php";
f.submit();
}
</script>
아^^;;
form 이 두개 겹쳐 있네요...
아래 소스 붙여 넣으시면 될껍니다.
============================================================
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$url = '';
if ($g4['https_url']) {
if (preg_match("/^\./", $urlencode))
$url = $g4[url];
else
$url = $g4[url].$urlencode;
} else {
$url = $urlencode;
}
?><style type="text/css">
<!--
body {
background-color: #2b231b;
}
-->
</style>
<table width="492" border="0" cellspacing="0" cellpadding="0">
<input type=hidden name=mb_id value='<?=$member[mb_id]?>'>
<input type=hidden name=w value='u'>
<tr>
<td width="492" height="31"> </td>
</tr>
<tr>
<td height="367"><table width="483" border="0" cellpadding="0" cellspacing="0">
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$url?>'>
<!-- <tr align="center">
<td colspan="3"><img src="<?=$member_skin_path?>/img/login_title.gif" width="624" height="72"></td>
</tr> -->
<tr>
<td width="483" height="337" align="center" valign="top" background="<?=$member_skin_path?>/img/bg.gif"><table width="350" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td width="235" height="146" valign="top">
<table width="234" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10"> </td>
<td width="73" height="114"> </td>
<td width="151" valign="bottom"><INPUT class=box1 maxLength=20 size=25 style='COLOR:#000000; height:19px; background-color:#e8ddbb; border:0px;' name=mb_id itemname="아이디" required minlength="2"></td>
</tr>
<tr>
<td> </td>
<td height="29"> </td>
<td valign="bottom"><INPUT type=password class=box1 maxLength=20 size=25 style='COLOR:#000000; height:19px; background-color:#e8ddbb; border:0px;' name=mb_password itemname="패스워드" required></td>
</tr>
</table></td>
<td width="115"><table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="69" valign="bottom"><INPUT name="image" type=image src="<?=$member_skin_path?>/img/b_login.gif" width="70" height="50" border=0></td>
<td> </td>
</tr>
<tr>
<td height="3"></td>
<td height="3"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="13" colspan="2"></td>
</tr>
<tr>
<td height="1" colspan="2"></td>
</tr>
<tr valign="top">
<td height="48" colspan="2"><table width="240" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12"> </td>
<td width="228"> </td>
</tr>
<tr>
<td height="29"> </td>
<td align="right"><a href="http://www.wednlife.co.kr/log.html" target="_parent"><img src="<?=$member_skin_path?>/img/b_join.gif" width="86" height="25" border=0 align="absmiddle"></a></td>
</tr>
</table></td>
</tr>
<tr align="left">
<td height="124" colspan="2"><table width="328" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="302" height="48" align="right" valign="bottom"><a href="javascript:;" onclick="win_password_forget('./password_forget.php');"><img src="<?=$member_skin_path?>/img/b_id.gif" width="115" height="25" border=0 align="absmiddle"></a></td>
<td width="26"> </td>
</tr>
<tr>
<td height="26" valign="middle"> </td>
<td> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="37" align="center" valign="top"> </td>
</tr>
</form>
</table>
<script language='Javascript'>
document.flogin.mb_id.focus();
function flogin_submit(f)
{
f.action = "./login_check.php";
f.submit();
}
</script>
form 이 두개 겹쳐 있네요...
아래 소스 붙여 넣으시면 될껍니다.
============================================================
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$url = '';
if ($g4['https_url']) {
if (preg_match("/^\./", $urlencode))
$url = $g4[url];
else
$url = $g4[url].$urlencode;
} else {
$url = $urlencode;
}
?><style type="text/css">
<!--
body {
background-color: #2b231b;
}
-->
</style>
<table width="492" border="0" cellspacing="0" cellpadding="0">
<input type=hidden name=mb_id value='<?=$member[mb_id]?>'>
<input type=hidden name=w value='u'>
<tr>
<td width="492" height="31"> </td>
</tr>
<tr>
<td height="367"><table width="483" border="0" cellpadding="0" cellspacing="0">
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$url?>'>
<!-- <tr align="center">
<td colspan="3"><img src="<?=$member_skin_path?>/img/login_title.gif" width="624" height="72"></td>
</tr> -->
<tr>
<td width="483" height="337" align="center" valign="top" background="<?=$member_skin_path?>/img/bg.gif"><table width="350" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td width="235" height="146" valign="top">
<table width="234" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10"> </td>
<td width="73" height="114"> </td>
<td width="151" valign="bottom"><INPUT class=box1 maxLength=20 size=25 style='COLOR:#000000; height:19px; background-color:#e8ddbb; border:0px;' name=mb_id itemname="아이디" required minlength="2"></td>
</tr>
<tr>
<td> </td>
<td height="29"> </td>
<td valign="bottom"><INPUT type=password class=box1 maxLength=20 size=25 style='COLOR:#000000; height:19px; background-color:#e8ddbb; border:0px;' name=mb_password itemname="패스워드" required></td>
</tr>
</table></td>
<td width="115"><table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="69" valign="bottom"><INPUT name="image" type=image src="<?=$member_skin_path?>/img/b_login.gif" width="70" height="50" border=0></td>
<td> </td>
</tr>
<tr>
<td height="3"></td>
<td height="3"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="13" colspan="2"></td>
</tr>
<tr>
<td height="1" colspan="2"></td>
</tr>
<tr valign="top">
<td height="48" colspan="2"><table width="240" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12"> </td>
<td width="228"> </td>
</tr>
<tr>
<td height="29"> </td>
<td align="right"><a href="http://www.wednlife.co.kr/log.html" target="_parent"><img src="<?=$member_skin_path?>/img/b_join.gif" width="86" height="25" border=0 align="absmiddle"></a></td>
</tr>
</table></td>
</tr>
<tr align="left">
<td height="124" colspan="2"><table width="328" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="302" height="48" align="right" valign="bottom"><a href="javascript:;" onclick="win_password_forget('./password_forget.php');"><img src="<?=$member_skin_path?>/img/b_id.gif" width="115" height="25" border=0 align="absmiddle"></a></td>
<td width="26"> </td>
</tr>
<tr>
<td height="26" valign="middle"> </td>
<td> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="37" align="center" valign="top"> </td>
</tr>
</form>
</table>
<script language='Javascript'>
document.flogin.mb_id.focus();
function flogin_submit(f)
{
f.action = "./login_check.php";
f.submit();
}
</script>
아..넘넘 감사합니다^^
정말 감사합니다ㅠㅠ 복받으세용..^^
정말 감사합니다ㅠㅠ 복받으세용..^^
<input type=hidden name=mb_id value='<?=$member[mb_id]?>'>
<input type=hidden name=w value='u'>
이부분이
form 밖에 있으므로 전달이 안될수 있습니다.
폼안으로 이동시켜주시는게 났지 않을까요?
<input type=hidden name=w value='u'>
이부분이
form 밖에 있으므로 전달이 안될수 있습니다.
폼안으로 이동시켜주시는게 났지 않을까요?
넵 참고하겠습니다^^ 감사합니다~!!