declaring the document root when in sub folder
<p>Can anyone help me use the correct way of doing includes. Rather than:
<code>include('header.php');</code></p>

<p>It's a multi page site and i want to add files into other folders for example an Information folder.</p>

<p>In this information folder i have a file called <code>aboutus.php</code> which has includes to the header in the previous directory.</p>

<p>I thought about using the <code>$_SERVER['DOCUMENT_ROOT']</code> method, but it seems a bit bulky and my site is in a sub folder from the root. So I would have to manually hard code the sub directory. Is there an easier way?</p>
