| PHP Ръководство | ||
|---|---|---|
| Предишна страница | Следваща страница | |
Firebird/InterBase is a relational database offering many ANSI SQL-92 features that runs on Linux, Windows, and a variety of Unix platforms. Firebird/InterBase offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names since 1981.
InterBase is the name of the closed-source variant of this RDBMS that was developed by Borland/Inprise. More information about InterBase is available at http://www.borland.com/interbase/.
Firebird is a commercially independent project of C and C++ programmers, technical advisors and supporters developing and enhancing a multi-platform relational database management system based on the source code released by Inprise Corp (now known as Borland Software Corp) under the InterBase Public License v.1.0 on 25 July, 2000. More information about Firebird is available at http://www.firebirdsql.org/.
Забележка: This extension supports InterBase versions 5 and up and all versions of Firebird. Support for InterBase version 5.x will be dropped in PHP 5.
This database uses a single quote (') character for escaping, a behavior similar to the Sybase database, add to your php.ini the following directive:
To enable InterBase support configure PHP
--with-interbase[=DIR], where DIR is the
InterBase base install directory, which defaults to
/usr/interbase.
Note to Win32 Users: За да работи това разширение, трябва съответните DLL файлове да бъдат в системния път (PATH) на Windows. Вижте "Как да добавя PHP директорията към PATH при Windows" за повече информация относно това. Въпреки че, копирането на DLL файлове от директорията на PHP в системната папка на Windows работи, не е препоръчително.Това разширение изисква следните файлове да бъдат в PATH: gds32.dll
In case you installed the InterBase database server on the same machine PHP is running on, you will have this DLL already. Therefore you don't need to worry because gds32.dll will already be in the PATH.
Поведението на тези функции зависи от настройките в php.ini.
За по-детайлна информация и дефинициите на константите PHP_INI_*, вижте .
Тук има кратко описание на конфигурационните директиви.
ibase.allow_persistent
booleanWhether to allow persistent connections to Firebird/InterBase.
ibase.max_persistent
integerThe maximum number of persistent Firebird/InterBase connections per process. New connections created with ibase_pconnect() will be non-persistent if this number would be exceeded.
ibase.max_links
integerThe maximum number of Firebird/InterBase connections per process, including persistent connections.
ibase.default_db
stringThe default database to connect to when ibase_[p]connect() is called without specifying a database name. If this value is set and SQL safe mode is enabled, no other connections than to this database will be allowed.
ibase.default_user
stringThe user name to use when connecting to a database if no user name is specified.
ibase.default_password
stringThe password to use when connecting to a database if no password is specified.
ibase.default_charset
stringThe character set to use when connecting to a database if no character set is specified.
ibase.timestampformat
string
ibase.dateformat
string
ibase.timeformat
stringThese directives are used to set the date and time formats that are used when returning dates and times from a result set, or when binding arguments to date and time parameters.
Константите по-долу са дефинирани в това разширение и ще бъдат налични единствено, когато това разширение е компилирано в PHP или динамично пуснато по време на изпълнение.
The following constants can be passed to ibase_trans() to specify transaction behaviour.
The following constants can be passed to ibase_fetch_row(), ibase_fetch_assoc() or ibase_fetch_object() to specify fetch behaviour.
The following constants are used to pass requests and options to the service API functions (ibase_server_info(), ibase_db_info(), ibase_backup(), ibase_restore() and ibase_maintain_db()). Please refer to the Firebird/InterBase manuals for the meaning of these options.
Options to ibase_backup()
Options to ibase_restore()
Options to ibase_maintain_db()
Options to ibase_db_info()
Options to ibase_server_info()
| Предишна страница | Начало | Следваща страница |
| filter_var | Начало на раздела | ibase_add_user |