View file exit.php
<? /********************************** * @year: 2015 * * @author: Klubv * * @icq: 611940693 * * @link: http://klubv.ru * **********************************/ include 'header/config.inc.php'; include "header/connect.inc.php"; unset($_SESSION['id_user']); unset($_SESSION['vv_code']); unset($_SESSION['code']); setcookie('id_user', $_USER['id'], time()-3600); setcookie('password',$_USER['password'],time()-3600); header('Location: index.php?'.SID); ?>