PHP 手册
后退 |  | 前进

# CII. Ovrimos SQL Functions

# 简介

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

> 注: 本扩展已被移动到 PECL 库中且自以下版本起不再被绑定到 PHP 中：5.1.0.

> 注: 本扩展模块在 Windows 平台下不可用。

# 需求

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

# 安装

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.

# 运行时配置

本扩展模块在 `php.ini` 中未定义任何配置选项。

# 资源类型

# 范例

例子 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.

后退 | 起点 | 前进
output_reset_rewrite_vars | 上一级 | ovrimos_close