PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ovrimos_close> <output_reset_rewrite_vars
Last updated: Sun, 25 Nov 2007

view this page in

Ovrimos SQL Functions

Introduktion

Ovrimos SQL Server, is a client/server, transactional RDBMS combined with Web capabilities and fast transactions.

Note: This extension has been moved to the » PECL repository and is no longer bundled with PHP as of PHP 4.4.5 and PHP 5.1.0.

Note: Denne udvidelse er ikke tilgængelige på Windows platformen.

Systemkrav

You'll need to install the sqlcli library available in the Ovrimos SQL Server distribution.

Installation

To enable Ovrimos support in PHP just compile PHP with the --with-ovrimos[=DIR] parameter to your configure line. DIR is the Ovrimos' libsqlcli install directory.

Runtime Konfiguration

Denne udvidelse har intet konfigurations-direktiv defineret i php.ini.

Ressourcetyper

Eksempler

Example#1 Connect to Ovrimos SQL Server and select from a system table

<?php
$conn 
ovrimos_connect("server.domain.com""8001""admin""password");
if (
$conn != 0) {
    echo 
"Connection ok!";
    
$res ovrimos_exec($conn"select table_id, table_name from sys.tables");
    if (
$res != 0) {
        echo 
"Statement ok!";
        
ovrimos_result_all($res);
        
ovrimos_free_result($res);
    }
    
ovrimos_close($conn);
}
?>
This will just connect to an Ovrimos SQL server.

Table of Contents



add a note add a note User Contributed Notes
OvrimosSQL
There are no user contributed notes for this page.

ovrimos_close> <output_reset_rewrite_vars
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites