first commit

This commit is contained in:
Tóth Ádám
2024-11-19 19:04:02 +01:00
commit de464b937d
8837 changed files with 493452 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<?php
session_start();
if (isset($_POST["nev"]) && $_POST["nev"] == "vasarlo" && isset($_POST["jelszo"]) && $_POST["jelszo"] == "jelszo" && !isset($_SESSION["nev"])) {
$_SESSION["nev"] = $_POST["nev"];
header(header: "Location: termekek.php");
}
else {
header(header: "Location: form.php");
}
?>