title: Why can't I destroy php cookie?
body: <p>In php, several months ago, I originally set a cookie like so:</p>
  
  <pre><code>&lt;?php
  setcookie('reituser', 'john', time()+3600*100000000000, '/', '.'.$_SERVER['SERVER_NAME']);
  ?&gt;
  </code></pre>
  
  <p>But now, I try to unset it like so</p>
  
  <pre><code>&lt;?php
  // this is the only line of code at http://mysite.com/test.php
  setcookie('reituser', '', time()-10, '/', '.'.$_SERVER['SERVER_NAME']);
  ?&gt;
  </code></pre>
  
  <p>But no matter how many times I refresh my browser for <code>http://mysite.com/test.php</code>, the $_COOKIE  array is still populated with my reituser=>john .   How do I fix this problem?</p>
  
  <p>For some reason, I can set new cookie variables and delete them via the methods above.  But it's jsut the reituser=>john that doesn't seem to work.  Is the word reituser a reserved word or something?</p>