Problem with including a file
<p>i am getting this error</p>

<pre><code>[28-Jan-2011 09:49:03] PHP Warning:  require_once(../../includes/database.php) [&lt;a href='function.require-once'&gt;function.require-once&lt;/a&gt;]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/photo/application/php/classes/users.php on line 2
</code></pre>

<p>[28-Jan-2011 09:49:03] PHP Fatal error:  require_once() [function.require]: Failed opening required '../../includes/database.php' (include_path='.:/Applications/MAMP/bin/php5.3/lib/php') in /Applications/MAMP/htdocs/photo/application/php/classes/users.php on line 2</p>

<p>The file i would like to include is in </p>

<pre><code>/Applications/MAMP/htdocs/photo/application/includes/database.php
</code></pre>

<p>I am sure the file is there, i have checked, double checked, triple checked
This is the line 2 in users.php</p>

<pre><code>require_once '../../includes/database.php';
</code></pre>

<p>What could be the problem</p>
