From e2513081f0677edae2733845b2b5484d8114d3ab Mon Sep 17 00:00:00 2001 From: root Date: Tue, 23 Nov 2021 11:55:00 +0000 Subject: [PATCH] Convert cmd in config.php not ignored --- upload.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upload.php b/upload.php index 5890314..23bba7b 100644 --- a/upload.php +++ b/upload.php @@ -2,6 +2,7 @@ session_start(); #error_log("Here is upload.php"); +include "config.php"; file_put_contents("/tmp/log.txt", "uploadder\n", FILE_APPEND | LOCK_EX); @@ -54,7 +55,7 @@ foreach ($_FILES as $key=>$files){ $_SESSION['files'][$tmpname]['content']=file_get_contents($tmpfname); $_SESSION['files'][$tmpname]['row']=$_GET['row']; - unlink ($tmpfname); + # unlink ($tmpfname); } else {