First Draft
First Draft of the Example Files
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php // continue.php
|
||||
session_start();
|
||||
|
||||
if (isset($_SESSION['forename']))
|
||||
{
|
||||
$forename = htmlspecialchars($_SESSION['forename']);
|
||||
$surname = htmlspecialchars($_SESSION['surname']);
|
||||
|
||||
echo "Welcome back $forename.<br>
|
||||
Your full name is $forename $surname.<br>";
|
||||
}
|
||||
else echo "Please <a href='authenticate2.php'>Click Here</a> to log in.";
|
||||
?>
|
||||
Reference in New Issue
Block a user