File "recv.php"

Full path: /www/ansys/ttest/rtok/recv.php
File size: 221 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Back

<?php
$LOG_FILE = "./log/recv_positions.log";

$data = isset($_POST["data"]) ? htmlspecialchars($_POST["data"]) : "";

$fp = fopen("./data.txt", "a");
if ($fp != NULL)
{
	fprintf($fp, "". $data. "\n");
	fclose($fp);
}
?>

PHP File Manager