PHP including files
<p>What's the difference between</p>

<pre><code>$_SERVER['DOCUMENT_ROOT'];
</code></pre>

<p>and</p>

<pre><code>dirname(__FILE__);
</code></pre>

<p>I wonder what's the difference because when I 'echo' them, they're returning same path. Which do you prefer should I use and why?</p>

<p>Thanks!</p>
