Initial commit
This commit is contained in:
commit
78a4e70036
24 changed files with 1067 additions and 0 deletions
10
res/php/upload.php
Executable file
10
res/php/upload.php
Executable file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
# COPYRIGHT (c) 2016 Marcel Kapfer (mmk2410)
|
||||
# MIT License
|
||||
|
||||
if (0 < $_FILES['userfile']['error']) P{
|
||||
echo "Error: " . $_FILES['userfile']['error'] . "<br>";
|
||||
} else {
|
||||
move_uploaded_file($_FILES['userfile']['tmp_name'], "../../assets/file.bin");
|
||||
header("Location: ../../");
|
||||
}
|
Reference in a new issue