name those variables!

This commit is contained in:
Thies Mueller 2021-02-21 22:04:24 +01:00
parent 572f3317e3
commit 559ea925c1

View File

@ -1,20 +1,28 @@
<?php <?php
//this just prints Session data line for line. Its just a quick page to check if everythings in place //this just prints Session data line for line. Its just a quick page to check if everythings in place
session_start(); session_start();
echo "userid:";
echo $_SESSION['userid']; echo $_SESSION['userid'];
echo "<br />"; echo "<br />";
echo "username:";
echo $_SESSION['username']; echo $_SESSION['username'];
echo "<br />"; echo "<br />";
echo "email:";
echo $_SESSION['email']; echo $_SESSION['email'];
echo "<br />"; echo "<br />";
echo "givenname:";
echo $_SESSION['givenName']; echo $_SESSION['givenName'];
echo "<br />"; echo "<br />";
echo "lastname:";
echo $_SESSION['lastName']; echo $_SESSION['lastName'];
echo "<br />"; echo "<br />";
echo "activated:";
echo $_SESSION['activated']; echo $_SESSION['activated'];
echo "<br />"; echo "<br />";
echo "last updated:";
echo $_SESSION['updated_at']; echo $_SESSION['updated_at'];
echo "<br />"; echo "<br />";
echo "isadmin:";
echo $_SESSION['isadmin']; echo $_SESSION['isadmin'];
?> ?>