index.php 정보
버그 index.php
본문
<?
$LastModified = gmdate("D d M Y H:i:s", filemtime($HTTP_SERVER_VARS[SCRIPT_FILENAME]));
header("Last-Modified: $LastModified GMT");
header("ETag: \"$LastModified\"");
?>
<html>
<head>
<title>테스트</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<frameset cols="0,100%" border="0">
<frame>
<frame src="board/index.php">
<noframes>
<p> </p>
</noframes>
</frameset>
</html>
이런식으로 감싸고 회원가입하면 닉네임이나 기타등등 중복체크하라는 메시지가 연속으로 계속 출력이 되네요
한번 확인해보세요..
$LastModified = gmdate("D d M Y H:i:s", filemtime($HTTP_SERVER_VARS[SCRIPT_FILENAME]));
header("Last-Modified: $LastModified GMT");
header("ETag: \"$LastModified\"");
?>
<html>
<head>
<title>테스트</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<frameset cols="0,100%" border="0">
<frame>
<frame src="board/index.php">
<noframes>
<p> </p>
</noframes>
</frameset>
</html>
이런식으로 감싸고 회원가입하면 닉네임이나 기타등등 중복체크하라는 메시지가 연속으로 계속 출력이 되네요
한번 확인해보세요..
댓글 전체
아마 g4도 gnu3에서 패치했듯이 top을 parent로 변경해야 할듯 하군요.^^
//top.document.fmbform.mb_id_enabled.value = -1;
parent.document.fmbform.mb_id_enabled.value = -1;
수정해야 될 파일은 다음 두개입니다.
다음 두개파일에서 top.document로 되어있는것을 parent.document로 변경하시면 됩니다.
bbs/member_email_check.php
bbs/member_nick_check.php
//top.document.fmbform.mb_id_enabled.value = -1;
parent.document.fmbform.mb_id_enabled.value = -1;
수정해야 될 파일은 다음 두개입니다.
다음 두개파일에서 top.document로 되어있는것을 parent.document로 변경하시면 됩니다.
bbs/member_email_check.php
bbs/member_nick_check.php
위처럼 하면 다음과 같은 스크립터 오류가 나는군요.
관리자님께서 체크해주셔야 할듯
다음은 에러내용입니다.
Error: top.document.getElementById("mb_nick_enabled") has no properties
Source File: http://g4testsite/member_nick_check.php?mb_nick=test5 Line: 27
위 27라인 찾아가면 다음과 같은 스크립터의 top....value=1; 에서 걸리는군요.^^
<script language='JavaScript'>
alert("'test5'은(는) 별명으로 사용할 수 있습니다.");
top.document.getElementById('mb_nick_enabled').value = 1;
window.close();
</script>
관리자님께서 체크해주셔야 할듯
다음은 에러내용입니다.
Error: top.document.getElementById("mb_nick_enabled") has no properties
Source File: http://g4testsite/member_nick_check.php?mb_nick=test5 Line: 27
위 27라인 찾아가면 다음과 같은 스크립터의 top....value=1; 에서 걸리는군요.^^
<script language='JavaScript'>
alert("'test5'은(는) 별명으로 사용할 수 있습니다.");
top.document.getElementById('mb_nick_enabled').value = 1;
window.close();
</script>