Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
home
/
egg.eemo.co.kr
/
public_html
/
super5
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/egg.eemo.co.kr/public_html/super5/barscan_info_do.php
<? session_cache_limiter('no-cache, must-revalidate'); session_start(); header("Pragma: no-cache"); header("Cache-Control: no-cache,must-revalidate"); header("Content-Type: text/html; charset=utf-8"); include_once("dbconn.php"); include_once("lib.php"); foreach($_GET as $key => $value) { ${$key}=mysql_real_escape_string(trim($value)); } foreach($_POST as $key => $value) { ${$key}=mysql_real_escape_string(trim($value)); } $arr_rst=array(); if($mode=="ipgo_scan") { $is_rs=RS("select * from farm_nvr_ipgo where nvr_sn='$vcode' "); if($is_rs[ipgo_date]) { $arr_rst['rst']="double"; $arr_rst['msg']=urlencode("해당 코드는 이미 입고스캔하였습니다."); echo urldecode(json_encode($arr_rst)); exit; } } else if($mode=="chulgo_scan") { $is_rs=RS("select * from farm_nvr_ipgo where nvr_sn='$vcode' "); if($is_rs[chulgo_date]) { $arr_rst['rst']="double"; $arr_rst['msg']=urlencode("해당 코드는 이미 출고스캔하였습니다."); echo urldecode(json_encode($arr_rst)); exit; } } else if($mode=="install_scan") { $is_rs=RS("select * from farm_nvr_ipgo where nvr_sn='$vcode' "); if($is_rs[install_date]) { $arr_rst['rst']="double"; $arr_rst['msg']=urlencode("해당 코드는 이미 설치스캔하였습니다."); echo urldecode(json_encode($arr_rst)); exit; } } $arr_rst['rst']=1; $arr_rst['vcode']=$vcode; echo json_encode($arr_rst); ?>