AdatB projekt + htdocs mappa hozzáadva
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
session_start();
|
||||
|
||||
if (isset($_SESSION["user"])) {
|
||||
header(header: "Location: profile.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>
|
||||
<h1>Bejelentkezés</h1>
|
||||
<form action="profile.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>
|
||||
<input type="color" name="szin" id="szin"><br>
|
||||
<button type="submit">Bejelentkezés</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user