PHP fatal Error require_once
<p>Hello Guys can anyone explain why is this happening to my program</p>

<p>when i use this Folder structure</p>

<p><img src="http://i.stack.imgur.com/beykH.png" alt="enter image description here"></p>

<p>and the code inside database.php is</p>

<pre><code>&lt;?php require_once("../db_config.php");?&gt;
</code></pre>

<p>I get an error 
<code>Fatal error: require_once(): Failed opening required '../db_config.php' (include_path='.;F:\xampp\php\PEAR') in F:\xampp\htdocs\project\database\db_mysql\database.php on line 3'</code></p>

<p>but when i move the db_config.php</p>

<p><img src="http://i.stack.imgur.com/eqmwe.png" alt="enter image description here"></p>

<p>Everything works fine. I don't get it. Can anyone explain.I prefer to use the first Folder structure because i will add a new folder db_mssql for mssql database.</p>
