PHP Classes
elePHPant
Icontem

File: phpsecureweb/bogus.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Bulent Tezcan  >  phpsecureweb  >  phpsecureweb/bogus.php  >  Download  
File: phpsecureweb/bogus.php
Role: Application script
Content type: text/plain
Description: displays security warning in case of illegal activity
Class: phpsecureweb
Allow users certain rights, login with password.
Author: By
Last change:
Date: 12 years ago
Size: 536 bytes
 

Contents

Class file image Download
<?php
   
/*
    * @author Bulent Tezcan. bulent@greenpepper.ca
    */

   
require_once "Security.class.php";
   
   
session_start( );

   
ob_start( );

    include
"header.inc.php";


   
session_destroy( );

    echo
"<br><br><b>The user has been trying some stuff, which they are not allowed.</b>";
    echo
"<br><br><b>Please modify this script according to your needs...</b>";
    echo
"<br><br><font color='#FF0000'><b>Your session has been DESTROYED.</b></font>";




    include
"footer.inc.php";

   
ob_end_flush( );

    return
true;

?>