Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
home
/
ltman.eemo.co.kr
/
public_html
/
www
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/ltman.eemo.co.kr/public_html/www/user_profile_mody_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_id=RS("select * from ltman_member where no != '$user_no' and id='$user_id' "); if($rs_id[no]) { $arr_rst['rst']='double_id'; echo json_encode($arr_rst); exit; } $query="update ltman_member set id='$user_id', name='$user_name', pass='$user_pass', lat='$lat', lon='$lon', sido='$sido', sigungu='$sigungu', tel='$user_cel', addr='$user_addr', addr2='$user_addr2' where no='$user_no' "; mysql_query($query) or die(mysql_error()); $arr_rst['rst']='1'; echo json_encode($arr_rst); ?>