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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/www/store/store_cart_proc.php
<?
if(!$HTTP_SESSION_VARS[S_IDX]) echo"<script>alert('login please.');location.href='/member/?tab=12&tabs=1';</script>";

if($mode == "proc"){
		
	//$queryupok = "update board_$tableName set subject='$subject',contents='$contents',general_setting='$m_chk',modify_date=now(),is_secret='$is_secret'  where no = '$idx'";
	$queryupok_result = mysql_query($queryupok,$db_con);		
		
}else if($mode == "del"){
		//$queryupok = "update board_$tableName set is_delete='Y',modify_date=now() where no = '$idx'";
		$queryupok_result = mysql_query($queryupok,$db_con);		
		$formChk = "list";
}else{
	$query = "INSERT INTO shop_cart
									(mbruid,product,product_cnt,d_regis)
								VALUES
									('$HTTP_SESSION_VARS[S_IDX]','$idx','$goodsCnt',now())";
	
	//echo $query;
	$result = mysql_query($query,$db_con);
}

?>
<script>
formChange('<?=$idx?>','cart');
</script>

Anon7 - 2021