---xml_curl.conf.xml ---http://txtphoneline.com/freeswitch/index.php header('Content-Type: text/xml'); $log = fopen("log.txt", "a"); $txt = date('Y-m-d H:i:s') . "\n"; $txt .= json_encode($_REQUEST) . "\n"; $txt .= "\n"; fwrite($log, $txt); fclose($log); $response = <<< XML
XML; $response = <<< XML
XML; die($response);