From b931f12906b8120b182d946b2f6aeb12373e1941 Mon Sep 17 00:00:00 2001 From: MatMasIt Date: Mon, 31 Jan 2022 10:25:34 +0100 Subject: [PATCH] Removed old code --- server/up.php | 1 - 1 file changed, 1 deletion(-) diff --git a/server/up.php b/server/up.php index 5c68714..a1fc57c 100644 --- a/server/up.php +++ b/server/up.php @@ -13,7 +13,6 @@ if (!function_exists('getallheaders')) { } $headers = getallheaders(); $f = file_get_contents($_FILES['file']['tmp_name']); -$f=explode("\n",file_get_contents("php://input")); $AUTH="3"; file_put_contents("dump.txt",$f,FILE_APPEND); if(trim($headers["Authorization"])!=$AUTH) echo "UNAUTHORIZED";