28 lines
677 B
PHP
28 lines
677 B
PHP
<?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>
|