PHP Classes

File: examples/basic/status.php

Recommend this page to a friend!
  Classes of Subin Siby   Secure PHP Login System   examples/basic/status.php   Download  
File: examples/basic/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/basic/status.php
Date: 2 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>