QuickBooks/Driver/Sql/Sqlite.php
protected function _connect($host, $port, $user, $pass, $db, $new_link, $client_flags)
    {
        $this->_conn = sqlite_open($db) or die('db: ' . $db . '');

        return true;
    }
protected function _connect($host, $port, $user, $pass, $db, $new_link, $client_flags)
    {
        $this->_conn = sqlite_open($db) or die('db: ' . $db . '');

        return true;
    }
Connect to the database

@param string $host				The hostname the database is located at
@param integer $port				The port the database is at
@param string $user				Username for connecting
@param string $pass				Password for connecting
@param string $db				The database name
@param boolean $new_link			TRUE for establishing a new link to the database, FALSE to re-use an existing one
@param integer $client_flags		Database connection flags (see the PHP/MySQL documentation)
@return boolean