SOFM/logout.php

14 lines
204 B
PHP
Executable File

<?php
session_start();
if(isset($_SESSION['hostz-user']) && isset($_SESSION['hostz-passwd']))
{
$_SESSION['hostz-user'] = null;
$_SESSION['hostz-passwd'] = null;
}
header("Location: index.php");
?>