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

search for in the

Ресурсни типове> <Инсталация
Last updated: Fri, 18 Sep 2009

view this page in

Конфигурация по време на работа

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

Unified ODBC Configuration Options
Name Default Changeable Changelog
odbc.default_db * NULL PHP_INI_ALL  
odbc.default_user * NULL PHP_INI_ALL  
odbc.default_pw * NULL PHP_INI_ALL  
odbc.allow_persistent "1" PHP_INI_SYSTEM  
odbc.check_persistent "1" PHP_INI_SYSTEM  
odbc.max_persistent "-1" PHP_INI_SYSTEM  
odbc.max_links "-1" PHP_INI_SYSTEM  
odbc.defaultlrl "4096" PHP_INI_ALL  
odbc.defaultbinmode "1" PHP_INI_ALL  
odbc.default_cursortype "3" PHP_INI_ALL Available as of PHP 5.3.0

Забележка: Entries marked with * are not implemented yet.

За по-детайлна информация и дефинициите на константите PHP_INI_*, вижте Where a configuration setting may be set.

Тук има кратко описание на конфигурационните директиви.

odbc.default_db string

ODBC data source to use if none is specified in odbc_connect() or odbc_pconnect().

odbc.default_user string

User name to use if none is specified in odbc_connect() or odbc_pconnect().

odbc.default_pw string

Password to use if none is specified in odbc_connect() or odbc_pconnect().

odbc.allow_persistent boolean

Whether to allow persistent ODBC connections.

odbc.check_persistent boolean

Check that a connection is still valid before reuse.

odbc.max_persistent integer

The maximum number of persistent ODBC connections per process.

The maximum number of ODBC connections per process, including persistent connections.

odbc.defaultlrl integer

Handling of LONG fields. Specifies the number of bytes returned to variables.

Когато се използва цяло число, стойността се отчита в байтове. Може да се използва също и краткото записване, съгласно описанието във FAQ.
odbc.defaultbinmode integer

Handling of binary data.

odbc.default_cursortype integer

Controls the ODBC cursor model. Possible values are SQL_CURSOR_FORWARD_ONLY, SQL_CURSOR_KEYSET_DRIVEN, SQL_CURSOR_DYNAMIC and SQL_CURSOR_STATIC (default).



add a note add a note User Contributed Notes
Конфигурация по време на работа
There are no user contributed notes for this page.

Ресурсни типове> <Инсталация
Last updated: Fri, 18 Sep 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites