made upload file

This commit is contained in:
neerholt
2021-03-08 13:01:47 +01:00
parent 913fdae646
commit 69db0c3d78
2 changed files with 53 additions and 0 deletions
+22
View File
@@ -13,6 +13,28 @@
<input type="submit" name="submitKeyWord" value="Submit">
</form>
<hr>
<form action="../Backend/upload.php" method="POST" id="uploadGame" enctype="multipart/form-data">
<input type="text" name="gameTitle" placeholder="Title på spillet"><br><br>
<input type="text" name="description" placeholder="Beskrivelse"><br><br>
<label for="uploadGame">Upload spil [.zip]</label>
<input type="file" name="gameFile" placeholder="Upload dit spil"><br><br>
<label for="uploadGame">Upload thumbnail[png,jpg,gif]</label>
<input type="file" name="thumbnailFile" placeholder="Upload en thumbnail"><br><br>
<label for="web">Er spillet web based</label>
<input type="checkbox" id="web" name="isWebBased" value="true"><br><br>
<input type="submit" name="submitUpload" value="Submit">
</form>
</body>
</html>