Require_once() and include_once() fails
<p>I've no any problem while I use require_once() or include_once() in the same directory. But if I use like below:</p>

<p>I have a php class page name <strong>email.class.php</strong> where I have included the below code.</p>

<pre><code>&lt;?php
require_once('../../configuration.php'); //The file is outside of directory. (root/system/class/) where the configuration.php file is not in the class directory but in root directory
?&gt;
</code></pre>

<p>now I have a <strong>subscription form where the email.class.php is included</strong> like below.</p>

<pre><code>&lt;?php
require_once('../class/email.class.php'); // Directory structure is like: (root/system/package/) // the formprocess.php is in the package folder.
?&gt;
</code></pre>

<p>It seems everything correct. but when I try to process a form, a <strong>Fatal Error:</strong> require_once fail to open required ../../configuration.php file something shows.
Then i tried to use URL instead of <strong>'../..configuration.php'</strong>. But my host not allows me to open URL. where is the problem ? please help me anyone. I'm just a learner.</p>
