This commit is contained in:
Dávid Jančár 2024-05-22 21:54:57 +02:00
parent 4ae650fad9
commit 79c5da6228
2 changed files with 3 additions and 8 deletions

@ -52,13 +52,8 @@
<form action="upload.php" method="post" enctype="multipart/form-data">
Vyber si súbor na nahratie:
<input type="file" name="fileToUpload" id="fileToUpload">
<!-- The data encoding type, enctype, MUST be specified as below -->
<form enctype="multipart/form-data" action="__URL__" method="POST" enctype="multipart/form-data">
<!--<MAX_FILE_SIZE must precede the file input field -->
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
<!-- Name of input element determines name in $_FILES array -->
<Send this file: input name="userfile" type="file" />
<input type="submit" value="Nahrať súbor" />
<input type="submit" value="Nahrať súbor" name="submit">
</form>
</form>
</body>
</html>

@ -50,7 +50,7 @@
</table>
<form action="upload.php" method="post" enctype="multipart/form-data">
Select image to upload:
Vyber súbor na nahratie:
<input type="file" name="fileToUpload" id="fileToUpload">
<input type="submit" value="Nahrať súbor" name="submit">
</form>