Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
home
/
ltms.eemo.co.kr
/
public_html
/
super
/
Or
Select Your Path :
Upload File :
New :
File
Dir
//home/ltms.eemo.co.kr/public_html/super/pop_chk_nvr_pop_send_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)); } $exp_val=explode("&",$str_val); $tokens = array(); foreach($exp_val as $ak => $av) { $rs_cont=RS("select * from farm_contract where no='$av' "); $rs_farm=RS("select * from farm where no='{$rs_cont[farm_no]}' "); $ino=mysql_query("insert into nvr_popup_notice set farm_no='{$rs_cont[farm_no]}', view_sec='$view_sec', msg='$cont', company_no='{$_COOKIE[ucompany_no]}', regdate=now() ") or die(); } if($ino) { echo "<script>alert('발송 하였습니다.');</script>"; } echo "<script>window.close();</script>"; ?>