title: PHP include when a "root forward slash" precedes the included path like: "/folder/file.php"
body: <p>For loading files like css or javascript of images, I have learned to add some extra safety and add an extra <code>/</code> in front of the folders, making sure that these files are loaded from a folder starting from the root path down wards:</p>
  
  <p>e.g. <code>/images/photo.jpg</code><br>
  e.g. <code>/scripts/script.js
  e.g.</code>/layout/css.css`</p>
  
  <p>Now, when I do the same trick in PHP, the file doesnt seem to load then the forward slash is added!</p>
  
  <pre><code>&lt;? include ("/folder/file.php"); ?&gt;     // include this file
  </code></pre>
  
  <p>When I however remove that <code>/</code> in the front of the path, it all works, but then dreamweaver says it cannot find the file! When I add the <code>/</code> then dreamweaver CAN find the remote assets/file but when running the site the files doesnt include well.</p>