PHP Classes

File: libreria/loginresult.php

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


Class file image Download
include_once ('');
  require_once (
  require_once (

  if (
//se il login ha successo redirezioniamo all'area privata
$s = new Session;
$s -> init_session();
    if (
$s->get_session_value("level")==1){header ("Location:".$admin_area);}else{header ("Location:".$secure_area);}
  }else {
//se il login non ha successo redirizioniamo al login page
header ("Location:".$login_page);
//codice per pop-up di ritorno come
    //utente disabilitato
    //utente non trovato
    //password o hash errati