PHP Classes

File: start.php

Recommend this page to a friend!
  Classes of Jorge Castro   PHP PDO Login System One   start.php   Download  
File: start.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP PDO Login System One
Authenticate users with records on MySQL using PDO
Author: By
Last change:
Date: 3 years ago
Size: 240 bytes
 

Contents

Class file image Download
<?php
include "app/app.php";

if (!isset(
$_SESSION['user'])) {
    @
session_write_close();
   
header('location:index.php');
    die(
1);
}

$users=\PdoOne_login\repo\UserRepo::select();

echo
bladeOne()->run('start'
   
,['users'=>$users]);