first commit
This commit is contained in:
21
Suli/13.b/Backend/Dolgozat_2024. 10. 21/form.php
Normal file
21
Suli/13.b/Backend/Dolgozat_2024. 10. 21/form.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user