PHP, include absolute path from home directory
<p>In html, the backslash(/) at the beginning tells the system to start looking from the home directory. For example,  </p>

<pre><code>&lt;a href="/folder1/example.css"&gt;Link&lt;/a&gt;
&lt;img scr="/images/example.jpg"&gt;Image /&gt;
</code></pre>

<p>To repeat, the / tells the system to look from the home directory.</p>

<p>Is there a way to do same thing in PHP as in?</p>

<pre class="lang-php prettyprint-override"><code>&lt;?php include '/header.php'; ?&gt;
</code></pre>

<p>The php code below will only look up header.php one directpry below the current directory. Please comment if my question is not clear enough. Thanks.</p>
