title: Why do my php includes return, "failed to open stream: No such file or directory in..."
body: <p>I'm using simple include files for common elements on a mostly static website.  I do so like this</p>
  
  <pre><code>&lt;?php include('/inc/header.php'); ?&gt;
  </code></pre>
  
  <p>But this doesn't work unless i remove the leading slash, and then it only works on pages in the root directory.  What am I doing wrong?</p>