title: How to make PHP cookies global in every page
body: <p>i'm using cookies for my new website but i came across with this problem:
  if i set a cookie with my script on </p>
  
  <blockquote>
    <p>server.dom/scripts/addcookie.php</p>
  </blockquote>
  
  <p>it will save my cookie but it will not be available on </p>
  
  <blockquote>
    <p>server.dom/index.php</p>
  </blockquote>
  
  <p>I believe that the problem i caused by the path.
  Any idea how to make it global?
  Thanks </p>