psniquiz/data_reciever.php
Vexure 12e90e16a9 new
data reciever added
2024-05-04 16:40:32 +03:00

17 lines
290 B
PHP

<?php
$datafile = "./data";
header("Content-Type: text/plain");
try {
$data = file_get_contents("php://input");
file_put_contents($datafile, $data);
date_default_timezone_set("Europe/Moscow");
echo date("H:i:s");
}
catch(Throwable $ex) {
echo "ЕГГОГ";
}
?>