initial commit

This commit is contained in:
Thies Mueller
2021-01-08 13:04:19 +01:00
parent 5d356fbd96
commit 2af1da0304
4 changed files with 150 additions and 0 deletions

12
secure.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
session_start();
if(!isset($_SESSION['userid'])) {
die('Please <a href="login.php">login</a>');
}
$userid = $_SESSION['userid'];
echo "Hi ".$userid;
echo "<br/>"
echo "This is secure now!"
?>