PHP Classes

File: examples/testlogin2.php

Recommend this page to a friend!
  Classes 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:
Date: 4 years 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>";