From c34f36bfc87b805370678b3e0e9a55f0c07ad117 Mon Sep 17 00:00:00 2001 From: David Zalesak Date: Thu, 4 Feb 2021 19:31:30 +0100 Subject: [PATCH] Oprava upload scriptu --- upload.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/upload.php b/upload.php index d7407cb..5ed4e71 100644 --- a/upload.php +++ b/upload.php @@ -1,6 +1,6 @@ 0) { @@ -46,7 +46,6 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { function writeToFile($file, $xml) { $myfile = fopen($file, "w") or die("Unable to open file!"); - $txt = "John Doe\n"; fwrite($myfile, $xml); fclose($myfile); }