title: PHP Windows require_once ignored
body: <p>My problem is,</p>
  
  <p>This is the file that is being included ,</p>
  
  <pre><code>&lt;?php
  $dbhost = "localhost";
  $dbuser = "****";
  $dbpass = "***";
  $dbname = "****";
  
  $MYSQL_ERRNO = "";
  $MYSQL_ERROR = "";
  
  // Connect To Database
  function db_connect() {
  global $dbhost, $dbuser, $dbpass, $dbname;
  global $MYSQL_ERRNO, $MYSQL_ERROR;
  
  $link_id = mysql_connect($dbhost, $dbuser, $dbpass);
  
  if(!$link_id) {
  $MYSQL_ERRNO = 0;
  $MYSQL_ERROR = "Connection failed to $dbhost.";
  return 0;
  }
  else if(!mysql_select_db($dbname)) {
  $MYSQL_ERRNO = mysql_errno();
  $MYSQL_ERROR = mysql_error();
  return 0;
  }
  else return $link_id;
  }
  ?&gt;
  </code></pre>
  
  <p>The main file has the following code to make db connection ,</p>
  
  <pre><code>&lt;?php
  require_once 'file.php';
  $link_id = db_connect($dbname);
  ......
  ?&gt;
  </code></pre>
  
  <p>But i got function undefined error.</p>
  
  <p>Using Apache in Windows with PHP 5.3</p>