title: Parsing folder back, in PHP
body: <p>Well, it is a litte bit strange, since I remember that if I wan't to go to the directory back, then I need to do the following: <code>include("../something-in-back-folder.php");</code> but it throws up an error with message that the file was not found. So I've prepared some code to check this out:</p>
  
  <pre><code>echo "&lt;pre&gt;".print_r(scandir("../"), 1)."&lt;/pre&gt;";
  </code></pre>
  
  <p>I've executed it in file with location:</p>
  
  <p><code>public_html =&gt; app =&gt; actions =&gt; post.php</code></p>
  
  <p>but the above code said, that back from my direction there are the following folders:</p>
  
  <pre><code>Array
  (
      [0] =&gt; .
      [1] =&gt; ..
      [2] =&gt; private_html
      [3] =&gt; public_html
  )
  </code></pre>
  
  <p>It should return 'actions' folder instead. Right?</p>
  
  <p>Isn't this strange? Or I've missed something? If so, then how can I include/open something that is one(or even two) folders back from my current directorty?</p>