title: setcookie not working on safari and firefox
body: <p>I'm trying to set cookies on my project, but it is not working on Safari or Firefox.</p>
  
  <p>I get results on Google Chrome though.</p>
  
  <p>Here is my code:</p>
  
  <pre><code> setcookie('mycookiename', 'data', time()+60*60*24*365, '/', false);
   print_r($_COOKIE['mycookiename']);
  </code></pre>
  
  <p>Thanks for help.</p>