Add Script of the site
This commit is contained in:
22
Scripts/logout.php
Normal file
22
Scripts/logout.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?
|
||||
/*
|
||||
*********************************************************************
|
||||
* File : $RCSfile: logout.php,v $
|
||||
* Version : $Revision: 1.4 $
|
||||
* Modified by : $Author: jb $ ($Date: 2002/12/14 19:59:27 $)
|
||||
*********************************************************************
|
||||
|
||||
*/
|
||||
|
||||
require "conf.php";
|
||||
require "ErreurConnect.php";
|
||||
|
||||
session_start ();
|
||||
global $pseudo;
|
||||
|
||||
|
||||
session_destroy (); /*We close the curent session*/
|
||||
header("Location:$racine/index.php");
|
||||
exit();
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user