python
This commit is contained in:
Andreas Wilms
2025-09-08 16:25:55 +02:00
commit 78481ca337
617 changed files with 345831 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<?php
$post_data = json_decode(file_get_contents('php://input'), true);
// the directory "data" must be writable by the server
$name = "/Data/".$post_data['filename'].".json";
//$name = "logsOutput/".$post_data['filename'].".json";
$data = $post_data['filedata'];
// write the file to disk
file_put_contents($name, $data);
?>