title: isset($_COOKIE['name'])) not working
body: <p>So I am making a blog for myself and to give myself admin privileges I set a cookie. <strong>I have manually checked its existence.</strong></p>
  
  <p><strong>And I have tested the code on my laptop using apache server and the code works fine.</strong></p>
  
  <p>I have two php pages </p>
  
  <p>First one detects the cookie fine, I post onto this php page from a form.</p>
  
  <pre><code>&lt;?php
  
  
  
  if(isset($_POST['tt'])){
  
      if(isset($_COOKIE['name'])){
          echo "something";
  </code></pre>
  
  <p>something is printed</p>
  
  <p>The above page is the only page that detects the cookie I have 7 more files none of them detects the cookie. I will post the main page here</p>
  
  <pre><code>    if(isset($_GET['cat'])){
      $t = $_GET['cat'];
      $mod = "where `cat`=$t";
  }
  
      $ref = mysql_query("SELECT * FROM `content`".$mod);
      while($row = mysql_fetch_assoc($ref)){
          $tit = $row['title'];
          $cno= $row['cno'];
          $brief = $row['brief'];
          $cat = $row['cat'];
          $time = $row['time'];
          $t = "";
          if(isset($_COOKIE['name'])) echo "something";
  </code></pre>
  
  <p>the something is not printed</p>
  
  <p>also
  1)Except the first code segment, none of the other pages uses a post method and retrieves data <strong>prior</strong> to checking the cookie.The rest of the pages sometimes have a get method before the checking the cookie like I have shown above, but none uses a post method before checking the cookie
  2)var_dump['$_COOKIE'] yields only unrelated cookies set by my hosting provider.</p>
  
  <p>I guess this is a php configuration problem may be ? </p>