12 lines
263 B
PHP
12 lines
263 B
PHP
<?php
|
|
|
|
session_start();
|
|
$username=$_SESSION['loggedin_username'];
|
|
$isloggedin=$_SESSION['isloggedin'];
|
|
|
|
if((!$isloggedin)){
|
|
header("Location: ..");
|
|
exit;// this is only exit to redirect to loginform, when not logged in.
|
|
};
|
|
|
|
phpinfo();
|