$json = file_get_contents("php://input"); $list = json_decode($json, true);
$SysNo=$list['SysNo'];
$aaa = file_get_contents('C:\Users\Administrator\Desktop\notify.xml'); $str = str_replace("\n", "", $aaa); $bbb = json_decode($str,True); libxml_disable_entity_loader(true); $values = json_decode(json_encode(simplexml_load_string($bbb['Data'], 'SimpleXMLElement', LIBXML_NOCDATA)), true); var_dump($values);