title: Why is require_once not working
body: <p>I'm working on a community written in PHP. I was just going to start working on a chat, so I created a new folder within the root one called "chat". And in that chat folder I created an "index.php" file. In that index.php file I wanna</p>
  
  <pre><code>require_once '../core/init.php';
  </code></pre>
  
  <p>The require_once fucntion works, but within my init.php file I </p>
  
  <pre><code>require_once 'functions/sanitize.php'.
  </code></pre>
  
  <p>this gives an error</p>
  
  <blockquote>
    <p>Warning: require_once(functions/sanitize.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\ooplr\core\init.php on line 26</p>
  </blockquote>
  
  <p>Line 26 is</p>
  
  <pre><code>require_once 'functions/sanitize.php'.
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p><a href="http://i.imgur.com/GekEOYT.png" rel="nofollow">http://i.imgur.com/GekEOYT.png</a></p>
  
  <p>Regards,</p>
  
  <p>Gustaf</p>