<?php session_name("SID"); session_start(); setcookie('cookid', ''); setcookie('cookps', ''); session_destroy(); header("Location: /index.php"); /* by -=ШАХТЕР=- (waphp.ru - качай только тут) */ ?>