function _connect($argHostname, $argUsername, $argPassword, $argDatabasename,$newconnect=false)
	{
		if (!function_exists('mssql_pconnect')) return null;
		$this->_connectionID = mssql_connect($argHostname,$argUsername,$argPassword,$newconnect);
		if ($this->_connectionID === false) return false;
		if ($argDatabasename) return $this->SelectDB($argDatabasename);
		return true;
	}
function _connect($argHostname, $argUsername, $argPassword, $argDatabasename,$newconnect=false)
	{
		if (!function_exists('mssql_pconnect')) return null;
		$this->_connectionID = mssql_connect($argHostname,$argUsername,$argPassword,$newconnect);
		if ($this->_connectionID === false) return false;
		if ($argDatabasename) return $this->SelectDB($argDatabasename);
		return true;
	}
function _connect ( $ argHostname , $ argUsername , $ argPassword , $ argDatabasename , $ newconnect = false ) { if ( ! function_exists ( 'mssql_pconnect' ) ) return null ; $ this -> _connectionID = mssql_connect ( $ argHostname , $ argUsername , $ argPassword , $ newconnect ) ; if ( $ this -> _connectionID === false ) return false ; if ( $ argDatabasename ) return $ this -> SelectDB ( $ argDatabasename ) ; return true ; }
returns true or false, newconnect supported since php 5.1.0.
returns true or false newconnect supported since php 5 . 1 . 0 .