function ServerInfo()
  {

    if (!empty($this->host) && ADODB_PHPVER >= 0x4300) {
      $stmt = $this->Prepare('EXECUTE PROCEDURE sp_mgGetInstallInfo()');
                        $res =  $this->Execute($stmt);
                        if(!$res)
                                print $this->ErrorMsg();
                        else{
                                $ret["version"]= $res->fields[3];
                                $ret["description"]="Advantage Database Server";
                                return $ret;
                        }
                }
                else {
            return ADOConnection::ServerInfo();
    }
  }
function ServerInfo()
  {

    if (!empty($this->host) && ADODB_PHPVER >= 0x4300) {
      $stmt = $this->Prepare('EXECUTE PROCEDURE sp_mgGetInstallInfo()');
                        $res =  $this->Execute($stmt);
                        if(!$res)
                                print $this->ErrorMsg();
                        else{
                                $ret["version"]= $res->fields[3];
                                $ret["description"]="Advantage Database Server";
                                return $ret;
                        }
                }
                else {
            return ADOConnection::ServerInfo();
    }
  }
function ServerInfo ( ) { if ( ! empty ( $ this -> host ) && ADODB_PHPVER >= 0x4300 ) { $ stmt = $ this -> Prepare ( 'EXECUTE PROCEDURE sp_mgGetInstallInfo()' ) ; $ res = $ this -> Execute ( $ stmt ) ; if ( ! $ res ) print $ this -> ErrorMsg ( ) ; else { $ ret [ "version" ] = $ res -> fields [ 3 ] ; $ ret [ "description" ] = "Advantage Database Server" ; return $ ret ; } } else { return ADOConnection :: ServerInfo ( ) ; } }
returns the Server version and Description
returns the Server version and Description