View file exit.php
<?php header('Location: ../index.php'); setcookie('id_user', '', time() - 3600, '/'); setcookie('pass', '', time() - 3600, '/'); session_destroy(); ?>
<?php header('Location: ../index.php'); setcookie('id_user', '', time() - 3600, '/'); setcookie('pass', '', time() - 3600, '/'); session_destroy(); ?>