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