title: Failed opening required file
body: <p>I am getting the following error while running the code,</p>
  
  <blockquote>
    <p>Warning: require_once(product.php) [function.require-once]: failed to
    open stream: No such file or directory in
    C:\xampp\htdocs\pro\application\modules\products\controllers\test1.php
    on line 2</p>
    
    <p>Fatal error: require_once() [function.require]: Failed opening
    required 'product.php' (include_path='.;C:\xampp\php\PEAR') in
    C:\xampp\htdocs\pro\application\modules\products\controllers\test1.php
    on line 2</p>
  </blockquote>
  
  <p>The code is simple, </p>
  
  <pre><code>&lt;?php 
  require_once "product.php";
  
      $array = "I am Fahad and I am testing this code";     
      $start = 4;
      $limit = 9;
      $value =  limit($array, $start, $limit);
      echo $value;
  ?&gt;
  </code></pre>
  
  <p>The file <code>product.php</code> lies in the same directory as of the file which I am running. It still is giving an error. Please help out. Thanks</p>