PHP: FrontBase Functions - Manual

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

search for in the

fbsql_affected_rows fribidi_log2vis

Last updated: Fri, 26 Jan 2007

view this page in

# XLV. FrontBase Functions

# Введение

These functions allow you to access FrontBase database servers. More information about FrontBase can be found at http://www.frontbase.com/.

Documentation for FrontBase can be found at http://www.frontbase.com/cgi-bin/WebObjects/FrontBase.woa/wa/productsPage?currentPage=Documentation.

Frontbase support has been added to PHP 4.0.6.

# Требования

You must install the FrontBase database server or at least the fbsql client libraries to use this functions. You can get FrontBase from http://www.frontbase.com/.

# Установка

In order to have these functions available, you must compile PHP with fbsql support by using the `--with-fbsql[=DIR]` option. If you use this option without specifying the path to fbsql, PHP will search for the fbsql client libraries in the default installation location for the platform. Users who installed FrontBase in a non standard directory should always specify the path to fbsql: `--with-fbsql=/path/to/fbsql`. This will force PHP to use the client libraries installed by FrontBase, avoiding any conflicts.

# Настройка во время выполнения

Поведение этих функций зависит от установок в `php.ini`.

Таблица 1. FrontBase configuration options

Name | Default | Changeable | Changelog
--- | --- | --- | ---
fbsql.allow_persistent | "1" | PHP_INI_SYSTEM | Available since PHP 4.2.0.
fbsql.generate_warnings | "0" | PHP_INI_SYSTEM | Available since PHP 4.0.6.
fbsql.autocommit | "1" | PHP_INI_SYSTEM | Available since PHP 4.0.6.
fbsql.max_persistent | "-1" | PHP_INI_SYSTEM | Available since PHP 4.0.6.
fbsql.max_links | "128" | PHP_INI_SYSTEM | Available since PHP 4.0.6.
fbsql.max_connections | "128" | PHP_INI_SYSTEM | Available since PHP 4.0.6.
fbsql.max_results | "128" | PHP_INI_SYSTEM | Available since PHP 4.0.6.
fbsql.batchSize | "1000" | PHP_INI_SYSTEM |
fbsql.default_host | NULL | PHP_INI_SYSTEM | Available since PHP 4.0.6.
fbsql.default_user | "_SYSTEM" | PHP_INI_SYSTEM | Available since PHP 4.0.6.
fbsql.default_password | "" | PHP_INI_SYSTEM | Available since PHP 4.0.6.
fbsql.default_database | "" | PHP_INI_SYSTEM | Available since PHP 4.0.6.
fbsql.default_database_password | "" | PHP_INI_SYSTEM | Available since PHP 4.0.6.

Для подробного описания констант PHP_INI_*, обратитесь к документации функции ini_set().

# Типы ресурсов

# Предопределенные константы

Перечисленные ниже константы определены данным расширением и могут быть доступны только в том случае, если PHP был собран с поддержкой этого расширения или же в том случае, если данное расширение подгружается во время выполнения.

`FBSQL_ASSOC` (integer)

`FBSQL_NUM` (integer)

`FBSQL_BOTH` (integer)

`FBSQL_LOCK_DEFERRED` (integer)

`FBSQL_LOCK_OPTIMISTIC` (integer)

`FBSQL_LOCK_PESSIMISTIC` (integer)

`FBSQL_ISO_READ_UNCOMMITTED` (integer)

`FBSQL_ISO_READ_COMMITTED` (integer)

`FBSQL_ISO_REPEATABLE_READ` (integer)

`FBSQL_ISO_SERIALIZABLE` (integer)

`FBSQL_ISO_VERSIONED` (integer)

`FBSQL_UNKNOWN` (integer)

`FBSQL_STOPPED` (integer)

`FBSQL_STARTING` (integer)

`FBSQL_RUNNING` (integer)

`FBSQL_STOPPING` (integer)

`FBSQL_NOEXEC` (integer)

`FBSQL_LOB_DIRECT` (integer)

`FBSQL_LOB_HANDLE` (integer)

add a note User Contributed Notes
FrontBase Functions
There are no user contributed notes for this page.
fbsql_affected_rows fribidi_log2vis

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST