title: PHP 5.5 setcookie localhost not working
body: <p>I've been working on a project on another operating system and it works fine there. I'm now on Arch Linux and now the project isn't working. The problem seems to be that my browser is not accepting a cookie.</p>
  
  <p>I'm setting it with</p>
  
  <pre><code>setcookie('name','value', 0, '/', '', 0, true);
  </code></pre>
  
  <p>Firebug shows the cookie being sent and the function is returning true. But it the cookie isn't being used. This is on localhost. </p>
  
  <p>Edit: I've also tried many combinations, like:</p>
  
  <pre><code>setcookie('test', 'value');
  setcookie('test', 'value', 0, '', '', 0, true);
  </code></pre>
  
  <p>None seem to work.</p>