4FRONT TECHNOLOGIES RELEASES THE SOURCE CODE FOR OPEN SOUND SYSTEM - Linux PR (press
4FRONT TECHNOLOGIES RELEASES THE SOURCE CODE FOR OPEN SOUND SYSTEM Linux PR (press release), CT - Jun 14, 2007 "Fluendo is excited to see the open source release of 4Front Technologies advanced OSS implementation for UNIX® and Linux. Getting a unified and advanced ...
Hi, folks,
I have developed CK-ERP, which is an open source accounting / MRP / ERP / CRM system that runs on top of multiple middlewares. It provides accounting and back office functionalities to SMEs and utilizes the underlying middleware to administer accounts/groups.
Details about and... (0 Replies)
SQLITE3.OPEN(3)SQLITE3.OPEN(3)SQLite3::open - Opens an SQLite database
SYNOPSIS
public void SQLite3::open (string $filename, [int $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE], [string $encryption_key])
DESCRIPTION
Opens an SQLite 3 Database. If the build includes encryption, then it will attempt to use the key.
PARAMETERS
o $filename
- Path to the SQLite database, or :memory: to use in-memory database.
o $flags
- Optional flags used to determine how to open the SQLite database. By default, open uses SQLITE3_OPEN_READWRITE |
SQLITE3_OPEN_CREATE.
o SQLITE3_OPEN_READONLY: Open the database for reading only.
o SQLITE3_OPEN_READWRITE: Open the database for reading and writing.
o SQLITE3_OPEN_CREATE: Create the database if it does not exist.
o $encryption_key
- An optional encryption key used when encrypting and decrypting an SQLite database.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
SQLite3.open(3) example
<?php
/**
* Simple example of extending the SQLite3 class and changing the __construct
* parameters, then using the open method to initialize the DB.
*/
class MyDB extends SQLite3
{
function __construct()
{
$this->open('mysqlitedb.db');
}
}
$db = new MyDB();
$db->exec('CREATE TABLE foo (bar STRING)');
$db->exec("INSERT INTO foo (bar) VALUES ('This is a test')");
$result = $db->query('SELECT bar FROM foo');
var_dump($result->fetchArray());
?>
PHP Documentation Group SQLITE3.OPEN(3)