From: Vincent Vanwaelscappel Date: Tue, 30 Jun 2020 14:18:06 +0000 (+0200) Subject: wip #3462 @2.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c5c966d8719f305b29e282bba2f94d1d019b5cf4;p=ccv-upload.git wip #3462 @2.5 --- c5c966d8719f305b29e282bba2f94d1d019b5cf4 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..62e7820 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Created by .ignore support plugin (hsz.mobi) +.idea \ No newline at end of file diff --git a/public/info.php b/public/info.php new file mode 100644 index 0000000..e974c40 --- /dev/null +++ b/public/info.php @@ -0,0 +1 @@ + $name) { + if ($_FILES['files']['error'][$index]) { + continue; + } + move_uploaded_file($_FILES['files']['tmp_name'][$index], $dir . $name); +} \ No newline at end of file