title: how to remove cookie in firefox?
body: <p>i have created a cookie with:</p>
  
  <pre><code>$domain = ($_SERVER['HTTP_HOST'] != 'localhost') ? $_SERVER['HTTP_HOST'] : false;
  setcookie('cookiename', 'data', time()+60*60*24*365, '/', $domain, false);
  </code></pre>
  
  <p>but how do i delete it?</p>
  
  <p>i tried with just switching the + to - but it didnt work.</p>
  
  <pre><code>$domain = ($_SERVER['HTTP_HOST'] != 'localhost') ? $_SERVER['HTTP_HOST'] : false;
  setcookie('cookiename', 'data', time()-60*60*24*365, '/', $domain, false);
  </code></pre>