meowboard/upload.php

16 lines
430 B
PHP
Raw Normal View History

2023-10-06 14:48:06 +01:00
<?php
include 'include/db.php';
include 'include/templates.php';
if ($_SERVER["REQUEST_METHOD"] == "POST") { }
else {
showHeader();
echo '<h3>Upload</h3><form action="upload.php" method="post" enctype="multipart/form-data">
<input type="file" name="fileToUpload" id="fileToUpload">
<label for="tags">Tags</label><br/><input type="text" id="tags" name="tags">
<br/><button>submit</button>
</form>';
echo $footer;
}
?>