Add file upload

This commit is contained in:
Bruno Rybársky 2024-04-25 10:44:20 +02:00
parent ff0bc7c184
commit 1b8901145d

@ -129,7 +129,7 @@ function parseIncomingFiles(): array
{
$incomingFiles = getIncomingFiles();
$success = true;
print_r($incomingFiles);
foreach ($incomingFiles as $incomingFile) {
if ($incomingFile["error"] == 0 && is_file($incomingFile["tmp_name"])) {
$type = explode("/", $incomingFile["type"]);