Login   Register  
PHP Classes
elePHPant
Icontem

File: secure_area/index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Guerrieri Luca  >  PXAServer  >  secure_area/index.php  >  Download  
File: secure_area/index.php
Role: Application script
Content type: text/plain
Description: example file for the secure_area
Class: PXAServer
Library to build applications configured with XML
Author: By
Last change:
Date: 7 years ago
Size: 745 bytes
 

Contents

Class file image Download
<?php
 
// inizio controllo sessione area privata
 
require ('../libreria/libfunz.inc.php');
 
login_session_control();
 
// fine controllo sessione per area privata

 
$sessi = new Session;
 print(
"Il risultato del form di login :<br><br>");
 print(
"Il valore di username : "$_POST["username"]."<br>");
 print(
"Il valore di password : "$_POST["password"]."<br>");
 print(
"Il valore di login passato : "$_POST["login"]."<br>");
 echo 
"<br>ID di sessione = " $sessi -> get_session_id();
 echo 
"<br>La stringa captcha e' : ".$sessi -> get_session_value("captcha");
 echo 
"<br>La stringa login e' : ".$sessi -> get_session_value("login");
 echo 
"<br><br>".perform_login($_POST["username"],$_POST["password"],$_POST["login"]);
?>