<?php require_once '../library/config.php'; $_SESSION['islogged'] = false; // Then go to login.php header('Location: login.php'); exit; ?>