added doga
This commit is contained in:
28
20241121/index.php
Normal file
28
20241121/index.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
include("feltolt.php");
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="hu">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Képek kezelése</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Fájlok feltöltése PHP-val</h1>
|
||||
<form action="#" method="POST" enctype="multipart/form-data">
|
||||
Név: <input type="text" name="kepnev" required><br>
|
||||
<input type="file" name="kepfajl" required><br>
|
||||
<button type="submit">Feltölt</button>
|
||||
</form>
|
||||
<br>
|
||||
<form method="POST">
|
||||
Létrehozandó könyvtár neve: <input type="text" name="dirname" required><br>
|
||||
<button type="submit">Feltölt</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user