From cd66ea36f38b8d2f98a2bad0b908389579894a81 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Sat, 15 Apr 2023 14:13:25 +0100 Subject: [PATCH] base --- index.html | 47 +++++++++++++++++++++++++++++++++++++++++++ upload.php | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 index.html create mode 100644 upload.php diff --git a/index.html b/index.html new file mode 100644 index 0000000..5d2c289 --- /dev/null +++ b/index.html @@ -0,0 +1,47 @@ + + + + + + + WIP Uploader + + + + + + + +
+
+
+

WIP Map Uploader

+
+
+ + +
+
+ +
+
+
+
+
+ + diff --git a/upload.php b/upload.php new file mode 100644 index 0000000..7e59112 --- /dev/null +++ b/upload.php @@ -0,0 +1,59 @@ + "success", + "mapId" => $mapId + ]); +} else { + returnJson([ + "status" => "error", + "message" => "An error occurred while uploading the file" + ]); +}