File: php/salirlg.php

Recommend this page to a friend!
  Classes of Luis Gabriel Hernandez Valderrama  >  PHP Billing System Reports  >  php/salirlg.php  >  Download  
File: php/salirlg.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Billing System Reports
Display and email customer billing reports
Author: By
Last change:
Date: 9 months ago
Size: 323 bytes
 

Contents

Download
<?php
//Reanudamos la sesión
session_start();
$_SESSION["autentica"] = "NOP";
//Literalmente la destruimos
session_destroy();
//Redireccionamos a index.php (al inicio de sesión)
echo "<script>alert('Saliendo del programa. A cerrado sesion con exito.');";
echo
"location.href = '../index.html';</script>";
?>


For more information send a message to info at phpclasses dot org.