added session

This commit is contained in:
Digi committed 2024-09-29 08:53:01 +02:00
1 parent 22c245f14d
commit 6b33de27f0
7 files changed
+37 -13

No files matched your search

+4 -3
View File
@@ -1,6 +1,5 @@
<?php
include "header.php";
include "input_check.php";
?>
<body>
<h1>
@@ -8,16 +7,18 @@
</h1>
<form method="POST">
<?php
if (isset($valid_input)){
if (isset($_SESSION["valid_input"])){
require "masodiklap.php";
} else{
require "elsolap.php";
} ?>
</form>
<?php
if (isset($valid_input)){
/*
if (isset($_SESSION["valid_input"])){
include "char_check.php";
}
*/
?>
</body>
</html>