PHP Classes
elePHPant
Icontem

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: Follow PSR standards
Formatted code to follow Francium coding standards

Formatted files using [phpfmt](https://github.com/subins2000/phpfmt) to follow Francium [coding standards](https://github.com/FranciumOS/Francium/blob/master/CODING-STANDARDS.md)
Replace spaces indentation with tabs
Date: 1 year 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>