forked from Adleraci/adlerka.top
Add file upload
This commit is contained in:
parent
ff0bc7c184
commit
1b8901145d
@ -129,7 +129,7 @@ function parseIncomingFiles(): array
|
|||||||
{
|
{
|
||||||
$incomingFiles = getIncomingFiles();
|
$incomingFiles = getIncomingFiles();
|
||||||
$success = true;
|
$success = true;
|
||||||
|
print_r($incomingFiles);
|
||||||
foreach ($incomingFiles as $incomingFile) {
|
foreach ($incomingFiles as $incomingFile) {
|
||||||
if ($incomingFile["error"] == 0 && is_file($incomingFile["tmp_name"])) {
|
if ($incomingFile["error"] == 0 && is_file($incomingFile["tmp_name"])) {
|
||||||
$type = explode("/", $incomingFile["type"]);
|
$type = explode("/", $incomingFile["type"]);
|
||||||
|
Loading…
Reference in New Issue
Block a user