I have this code that setted when login check is fine:
if((isset($_POST[\"remember_me\"]))&&($_POST[\"remember_me\"]==1)) { setcookie(\'email
To unset cookies in PHP, simply set their expiry time to a time in the past. For example:
$expire = time() - 300; setcookie("email", '', $expire); setcookie("pass", '', $expire);