Kingston_Pendrive/Suli/13.b/Backend/Dolgozat_2024. 10. 21/form.php
2024-11-19 19:04:02 +01:00

21 lines
652 B
PHP

<!DOCTYPE html>
<html lang="hu">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bejelentkezés</title>
</head>
<body>
<?php
session_start();
if (isset($_SESSION["nev"])) {
header(header: "Location: termekek.php");
}
?>
<form action="bejelentkezes.php" method="POST">
<label for="nev">Név: </label><input type="text" name="nev" id="nev"><br>
<label for="jelszo">Jelszó: </label><input type="password" name="jelszo" id="jelszo"><br>
<button type="submit">Bejelentkezés</button>
</form>
</body>
</html>