title: PHP include files from another directory that also include files
body: <p>I have includes in multiple files, i recently started a new directory and am unable to get some of my includes to work.</p>
  
  <p>for example i have this include in my postpage.php which is located at example.com/c/postpage.php:</p>
  
  <pre><code>include '../includes/overall/header.php';
  </code></pre>
  
  <p>which works as it goes to the root directory and includes header.php 
  but my problem is that header.php also includes files which are not being included.</p>
  
  <p>the code in header.php is:</p>
  
  <pre><code>include 'includes/head.php';
  </code></pre>
  
  <p>which is not working</p>
  
  <p>if i change header.php to:</p>
  
  <pre><code>include '../includes/head.php';
  </code></pre>
  
  <p>then it breaks the rest of my site, while working only for postpage.php</p>
  
  <p>any advice is welcome.</p>