PHP Classes

File: examples/two-step-login/status.php

Recommend this page to a friend!
  Classes of Subin Siby   Secure PHP Login System   examples/two-step-login/status.php   Download  
File: examples/two-step-login/status.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Secure PHP Login System
Register and login users using a database via PDO
Author: By
Last change: Update of examples/two-step-login/status.php
Date: 4 months ago
Size: 329 bytes
 

Contents

Class file image Download
<?php
require 'config.php';
?>
<!DOCTYPE html>
<html>
    <head></head>
    <body>
        <?php
       
if ($LS->isLoggedIn()) {
            echo
"You are logged in. <a href='home.php'>Home</a>";
        } else {
            echo
"You are not logged in. <a href='login.php'>Log In</a>";
        }
       
?>
</body>
</html>