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/api_gps.php
<? session_cache_limiter('no-cache, must-revalidate'); session_start(); /* ob_end_clean(); header('HTTP/1.1 200 OK'); header('Date: '.gmdate('D, d M Y H:i:s', time()).' GMT'); header("Content-Type: text/plain;charset=EUC-KR"); header("Connection: close"); ob_start(); $size=ob_get_length(); header("Content-Length: $size"); ob_end_flush(); flush(); */ include_once("dbconn.php"); include_once("lib.php"); if ($_SERVER['REQUEST_METHOD'] == 'POST') { //$data = json_decode(file_get_contents("php://input")); $data = file_get_contents("php://input"); } //$data='sdfsdf'; if($data) { $vv=addslashes($data); mysql_query("insert into tmp_qry set vdata='$vv', regdate=now() ") or die(); } ?>