vege
This commit is contained in:
parent
1c13613074
commit
8f4d9a7671
9
20241024/head.php
Normal file
9
20241024/head.php
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
|
||||||
|
if ($_SERVER["REQUEST_METHOD"]=="POST"){
|
||||||
|
$celkonyvtar = "kepek/";
|
||||||
|
$celfajl = $_FILES["kepfajl"]["name"];
|
||||||
|
|
||||||
|
var_dump($_FILES["kepfajl"]);
|
||||||
|
}
|
18
20241024/html.php
Normal file
18
20241024/html.php
Normal 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>
|
Loading…
Reference in New Issue
Block a user