|
PHP5中文手册
DBM Functions [deprecated]简介These functions allow you to store records stored in a dbm-style database. This type of database (supported by the Berkeley DB, » GDBM, and some system libraries, as well as a built-in flatfile library) stores key/value pairs (as opposed to the full-blown records supported by relational databases).
需求To use this functions you have to compile PHP with support for an underlying database. See the list of supported Databases. 安装In order to use these functions, you must compile PHP with dbm support by using the --with-db option. In addition you must ensure support for an underlying database or you can use some system libraries. 运行时配置本扩展模块在 php.ini 中未定义任何配置选项。 资源类型The function dbmopen() returns an database identifier which is used by the other dbm-functions. 预定义常量本扩展模块未定义任何常量。 范例
Example#1 DBM example
<?php Table of Contents
|