This commit is contained in:
Tobias Herre 2021-11-24 10:58:11 +01:00
commit 5c0e5ab2b8
1 changed files with 2 additions and 1 deletions

View File

@ -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 {