$fileContent = file_get_contents("php://input");
$xmlResult = @simplexml_load_string($fileContent,NULL,LIBXML_NOCDATA);
$logfilePath = 'log.log';
$logInfo = json_encode($xmlResult);
$fp = fopen($logfilePath, "a+");
fputs($fp, $logInfo);
fclose($fp);
$xmlResult = @simplexml_load_string($fileContent,NULL,LIBXML_NOCDATA);
$logfilePath = 'log.log';
$logInfo = json_encode($xmlResult);
$fp = fopen($logfilePath, "a+");
fputs($fp, $logInfo);
fclose($fp);