added session
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user