This commit is contained in:
szabomarton committed 2024-10-24 11:26:03 +02:00
1 parent 1c13613074
commit 8f4d9a7671
2 files changed
+27

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
<?php
session_start();
if ($_SERVER["REQUEST_METHOD"]=="POST"){
$celkonyvtar = "kepek/";
$celfajl = $_FILES["kepfajl"]["name"];
var_dump($_FILES["kepfajl"]);
}
+18
View File
@@ -0,0 +1,18 @@
<?php
include("head.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Képek kezelése</title>
</head>
<body>
<form action="" method="POST" enctype="multipart/form-data">
Név: <input type="text" name="kepnev"> <br>
<input type="file" name="kepfajl"> <br>
<button type="submit">Feltölt</button>
</form>
</body>
</html>