<?
  if(!empty($_COOKIE['login']) && !empty($_COOKIE['password']))
        {
            SetCookie('login','',time()-80 , '/' , '.'.$_SERVER["HTTP_HOST"].'');
            SetCookie('password','',time()-80, '/' , '.'.$_SERVER["HTTP_HOST"].'');
            Header('Location: /index/');
        }
          else
        {            Header('Location: /index/');
        }
?>