title: Using require_once for up directory not working
body: <p>I am using require_once like this</p>
  
  <pre><code>require_once('../mycode.php')
  </code></pre>
  
  <p>I am developing a wordpress plugin. My plugin folder is yves-slider where I have a file called yves-slider.php and a folder called admin. Inside admin folder I have a file called admin.php. I want to require file yves-slider.php in my admin.php which is located up one level directory. When I try to use</p>
  
  <pre><code>require_once('../yves-slider.php')
  </code></pre>
  
  <p>it gives me the following error</p>
  
  <blockquote>
    <p>Warning: require_once(../yves-slider.php): failed to open stream: No
    such file or directory in
    C:\xampp\htdocs\wordpress\wp-content\plugins\yves-slider\yves-slider-admin\yves-slider-admin.php
    on line 4</p>
    
    <p>Fatal error: require_once(): Failed opening required
    '../yves-slider.php' (include_path='.;C:\xampp\php\PEAR') in
    C:\xampp\htdocs\wordpress\wp-content\plugins\yves-slider\yves-slider-admin\yves-slider-admin.php
    on line 4</p>
  </blockquote>
  
  <p>Am I doing wrong? I am using XAMPP 3.1, I guess that's the best way to do it.</p>