PHP Classes

File: libreria/check.php

Recommend this page to a friend!
  Classes of Guerrieri Luca   PXAServer   libreria/check.php   Download  
File: libreria/check.php
Role: Auxiliary script
Content type: text/plain
Description: to check the end of login
Class: PXAServer
Library to build applications configured with XML
Author: By
Last change:
Date: 14 years ago
Size: 304 bytes
 

Contents

Class file image Download
<?
require ("config.inc.php");
require_once (
"global.inc.php");
$s = new Session;
$s -> init_session();
if (
$s->get_session_value("login")!="success"){
   
header("Location: ".$login_page);
}elseif (
$s->get_session_value("level")!=$level){
  
//header("Location: ".$login_page);
  
die;
}

?>