loguit.php
Gesponsorde koppelingen
PHP script bestanden
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
session_start();
/**
* @author Leon Kuipers
* @copyright 2011
*/
$_SESSION['error'] = " ";
$_SESSION = array();
if ($_COOKIE[session_name()])
{
setcookie(session_name() , '', time()-42000, '/');
}
session_destroy();
header("Location: login.php");
?>
session_start();
/**
* @author Leon Kuipers
* @copyright 2011
*/
$_SESSION['error'] = " ";
$_SESSION = array();
if ($_COOKIE[session_name()])
{
setcookie(session_name() , '', time()-42000, '/');
}
session_destroy();
header("Location: login.php");
?>