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/junsu/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/junsu/join_email_check.php
<?
include $_SERVER['DOCUMENT_ROOT']."/conf/conf_dir.php";
  $email = trim($_POST['id']);
	$userEmail = get_db("select email from user where email = '$email'");

	if($userEmail){
		//alert('중복된 ID 입니다.다시 입력해 주세요');
		//수정시 session 검사하여 기존꺼 쓸수 있도록
		$sessionEmail = get_db("select email from user where email = '$email' and id='$sessionIDX'");
		if($sessionEmail) echo "0"; //사용가능
		else echo "1"; //중복으로 사용못함.

	}else{
		//alert('사용 가능한 ID 입니다.');
		echo "0";
	}

	mysql_close();
?>

Anon7 - 2021