This commit is contained in:
Dávid Jančár 2024-05-22 21:52:48 +02:00
parent eb154a7887
commit 4ae650fad9
2 changed files with 9 additions and 18 deletions

@ -49,18 +49,16 @@
</tr>
</table>
<!--<form action="upload.php" method="post" enctype="multipart/form-data">
Select image to upload:
<form action="upload.php" method="post" enctype="multipart/form-data">
Vyber si súbor na nahratie:
<input type="file" name="fileToUpload" id="fileToUpload">
<input type="submit" value="Upload Image" name="submit">
</form>
<!-- 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" />
<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="Send File" />-->
<Send this file: input name="userfile" type="file" />
<input type="submit" value="Nahrať súbor" />
</form>
</body>
</html>

@ -49,18 +49,11 @@
</tr>
</table>
<!--<form action="upload.php" method="post" enctype="multipart/form-data">
<form action="upload.php" method="post" enctype="multipart/form-data">
Select image to upload:
<input type="file" name="fileToUpload" id="fileToUpload">
<input type="submit" value="Upload Image" name="submit">
<input type="submit" value="Nahrať súbor" name="submit">
</form>
<!-- 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="Send File" />-->
</form>
</body>
</html>