PHP cannot verify if directory exists
<p>I am going crazy with this one</p>

<p>I have this folders and files structure</p>

<ul>
<li>/
<ul>
<li>/projects
<ul>
<li>/mytest
<ul>
<li>/install
<ul>
<li>/index.php</li>
</ul></li>
<li>/product</li>
</ul></li>
</ul></li>
<li>/resources</li>
</ul></li>
</ul>

<p>So, inside my install/index.php file I am trying to verify if /product folder does exist. I know that the folder exists, but looks like PHP doesn't. My code:</p>

<pre><code>if(file_exists('../../mytest/product') &amp;&amp; is_dir('../../mytest/product')) {
    echo 'Folder exists!';
} else {
    echo 'PHP is blind or something!';
}
</code></pre>

<p>Maybe I am very tired, but I just cannot figure out what is wrong. Some rested minds here maybe will see the problem. Thanks!</p>
