title: path to subfolders is confusing
body: <p>My folder structure</p>
  
  <p>root-><br/>
        &nbsp;&nbsp;&nbsp;&nbsp;my_framework-> inc / header.php<br/>
                   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -> register / index.php</p>
  
  <p>In the index.php which resides in register folder, how do I include header.php which is inside inc folder?</p>
  
  <p>This seems to be very tricky.</p>
  
  <p>I tried:</p>
  
  <p>1) <code>$_SERVER['DOCUMENT_ROOT'].'/my_framework/inc/header.php'</code> = shows error saying no file found in that path</p>
  
  <p>2) <code>../inc/header.php</code> = no error but css not applicable. WHen view on source, path reads myframework/register/inc/header.php</p>
  
  <p>3) <code>$_SERVER['DOCUMENT_ROOT'].dir(_FILE_).'/inc/header.php'</code> = path error</p>
  
  <p>What is the correct way to include header which is inside inc folder in any subfolder?</p>