$body = file_get_contents('php://input'); $today = date("dmY-Gis"); $name = $today . ".log"; //$FilePath = $HostFolder . "\\" . $name; $f = fopen($name, "w+"); fwrite($f, utf8_encode($body)); fclose($f);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)