PHP Classes

File: examples/testlogin2.php

Recommend this page to a friend!
  Packages of Jorge Castro   DashOne   examples/testlogin2.php   Download  
File: examples/testlogin2.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: DashOne
Compose and display a dashboard programmatically
Author: By
Last change: Update of examples/testlogin2.php
Date: 1 year ago
Size: 242 bytes
 

 

Contents

Class file image Download
<?php

use eftec\DashOne\DashOne;

@session_start();
include "../vendor/autoload.php";


$user= DashOne::getLogin('testlogin.php');

echo "<h1>Login correct</h1>";

var_dump($_SESSION['user']);

echo "<br><a href='testlogin3.php'>Logout</a>";