title: php fail to open a sqlserver 2000 database
body: <p>I can use the sql server management studio to open a  sqlserver 2000 database,</p>
  
  <p>but I can not open the same database in a php page using the same user and password.</p>
  
  <p>what is the problem?</p>
  
  <pre><code>if(!$dbSource-&gt;open("192.168.4.241:1433","sa","sa","NorthWind"))
  {
      echo  "Fail to open the sql server 2000 database";
  }
  
  -----------------------
  
    function open($db_server, $db_user, $db_password, $db_name) 
    {
  
      $this-&gt;conn = mssql_connect($db_server, $db_user, $db_password);
      if(!$this-&gt;conn)
      {
          return false;
      }
      @mssql_select_db($db_name, $this-&gt;conn);
      return true;
    }
  </code></pre>