PHP 手冊
上一頁 |  | 下一頁

# LXXXI.Ovrimos SQL Functions

# 介紹

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

> 備注:此延伸不適用於 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.

上一頁 | 最開頭 | 下一頁
ora_rollback | 上一層 | ovrimos_close