首页 >函数列表 >dba_popen

dba_popen

dba_popen

(PHP 4, PHP 5)

dba_popenOpen database persistently

说明

resource dba_popen ( string $path , string $mode [, string $handler [, mixed $... ]] )

dba_popen() establishes a persistent database instance for path with mode using handler.

参数

path

Commonly a regular path in your filesystem.

mode

It is r for read access, w for read/write access to an already existing database, c for read/write access and database creation if it doesn't currently exist, and n for create, truncate and read/write access.

handler

The name of the handler which shall be used for accessing path. It is passed all optional parameters given to dba_popen() and can act on behalf of them.

返回值

Returns a positive handle on success 或者在失败时返回 FALSE.

参见


  • dba_close
  • dba_delete
  • dba_exists
  • dba_fetch
  • dba_firstkey
  • dba_handlers
  • dba_insert
  • dba_key_split
  • dba_list
  • dba_nextkey
  • dba_open
  • dba_optimize
  • dba_popen
  • dba_replace
  • dba_sync
  • PHP MySQL HTML CSS JavaScript MSSQL AJAX .NET JSP Linux Mac ASP 服务器 SQL jQuery C# C++ java Android IOS oracle MongoDB SQLite wamp 交通频道