title: php include_once not working for only one file
body: <p>I have two folders <code>Provider</code> and <code>Library</code> in the same directory. <code>Provider</code> includes two php files <code>ActiveRequests.php</code> and <code>PendingRequests.php</code>. <code>Library</code> contains another folder <code>Multilingual</code> which includes <code>Pagefactory.php</code> and <code>languageSession.php</code></p>
  
  <pre class="lang-none prettyprint-override"><code>- Provider
    - ActiveRequests.php
    - PendingRequests.php
  - Library
    - Multilingual
      - Pagefactory.php
      - languageSession.php
  </code></pre>
  
  <p>I'm including <code>PageFactory.php</code> in <code>ActiveRequests.php</code> like </p>
  
  <pre><code>      include_once __DIR__ . '/../library/Multilingual/PageFactory.php'
  </code></pre>
  
  <p>and it is working fine.</p>
  
  <p>But when I'm trying to include <code>PageFactory.php</code> in <code>PendingRequests.php</code> in the same way like</p>
  
  <pre><code>       include_once __DIR__ . '/../library/Multilingual/PageFactory.php'
  </code></pre>
  
  <p>it is not working.</p>
  
  <p>when I tried to include the <code>languageSession.php</code> in <code>Pendingrequests.php</code> like</p>
  
  <pre><code>       include_once __DIR__ . '/../library/Multilingual/languageSession.php'
  </code></pre>
  
  <p>it is working fine.</p>
  
  <p>Can any one help me? What could be the problem with the <code>PageFactory.php</code> path?</p>
  
  <p>I've also tried with <code>$_SERVER["DOCUMENT_ROOT"]</code> but it did not work. </p>