title: php $_SERVER['DOCUMENT_ROOT'] issue
body: <p>I'm having an issue when using <code>$_SERVER['DOCUMENT_ROOT']</code>  with css links. 
  I have a variable set to:</p>
  
  <pre><code>&lt;?php
      $path = ($_SERVER['DOCUMENT_ROOT'] . "/");
      $_SERVER['HTTP_HOST'] . '/';
  ?&gt;
  </code></pre>
  
  <p>I am using the $path variable to point to navigation pages include on my page that contain css file links. For example in <code>index.php</code>:</p>
  
  <pre><code>&lt;?php
      include ($path . "includes/_navTop.php");
  ?&gt;
  </code></pre>
  
  <p>The css links in the <code>_navTop.php</code> page is:</p>
  
  <pre><code>&lt;?php
      echo '&lt;link href="' . $path . 'includes/css/main.css" rel="stylesheet"&gt;';
  ?&gt;
  </code></pre>
  
  <p>When I test the page in a Firefox and Chrome, I get 404 not found errors in the developer console. The path shows as:</p>
  
  <pre><code>http://www.example.com/data/9/3/5/155/3657318/user/4068338/htdocs/includes/css/bootstrap.min.css
  </code></pre>
  
  <p>When using <code>$_SERVER['DOCUMENT_ROOT']</code>, is it suppose to insert the site address also?</p>