16 lines
430 B
PHP
16 lines
430 B
PHP
|
<?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;
|
||
|
}
|
||
|
?>
|