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/mypage_member_proc.php
<?
include "$DOCUMENT_ROOT/conf/conf_dir.php";
echo "<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />";
//include "$DOCUMENT_ROOT/conf/conf_i.php";
//exit;
if($mode == "A" && $idx){
		if($idchk ==1){
			$where .= ", userid='$user_id'";
			$_SESSION[S_ID]= $user_id;
		}
		if($user_pw !=""){
			$pwd = md5("$user_pw");
			$where .= ", password='$pwd',new_password_key='$user_pw'";
		}
	  $qry = "update user set kana_name1='$kana_name',nickname='$user_nick_name', email='$email', email_chk='$emailsend'  $where , modified=now() where id = '$idx'";
		$qry_result = mysql_query($qry,$db_con);
		//exit;
}else if($mode == "B" && $idx){
	  if($_FILES['orgFile']["name"]){
		$resize_img_width ="500";
		$resize_img_name = "re500_";
		$FILES_PATH = $_SERVER['DOCUMENT_ROOT']."/files/uprofile/";
		$upfile_name = img_file_upload($_FILES['orgFile'],$resize_img_width,$resize_img_name,$FILES_PATH);
		}else{
			$upfile_name =$old_file_name;
		}
		if(!$upfile_name) $profileImg="N"; //이미지가 없을때 프로필 이미지체크 N으로 변경

	  $qry = "update user set m_color='$profileColor',m_img_chk='$profileImg', m_img='$upfile_name',modified=now() where id = '$idx'";
		$qry_result = mysql_query($qry,$db_con);

		$tmp_img= get_imgColor($sessionIDX);
		$_SESSION[S_IMG_B]= $tmp_img[0];
		$_SESSION[S_IMG_S]= $tmp_img[3];
		$_SESSION[S_COLOR] =  $tmp_img[1];
		$_SESSION[S_CLASSNUM] =  $tmp_img[2];

}else if($mode == "C" && $idx){
		$qrys = "update user_profiles set hanja_name1='$hanja_name',en_name1='$en_name', tel='$tel',zip='$zip',juso='$juso',birthday='$birthday' where user_id = '$idx'";
		$qrys_result = mysql_query($qrys,$db_con);
}
//exit;
Alert_go("修正しました。","./mypage.php");


?>

Anon7 - 2021