dba_popen() - dba函数(数据库抽象层)
dba_popen()
(PHP 4, PHP 5, PHP 7)
Open database persistently
说明
dba_popen(string $path,string $mode[,string $handler[,mixed$...
]]): resourcedba_popen() establishes a persistent database instance for$pathwith$modeusing$handler.
参数
$pathCommonly a regular path in your filesystem.
$modeIt isrfor read access,wfor read/write access to an already existing database,cfor read/write access and database creation if it doesn't currently exist, andnfor create, truncate and read/write access.
$handlerThe 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_open()
Open databasedba_close()
Close a DBA database
鹏仔微信 15129739599 鹏仔QQ344225443 鹏仔前端 pjxi.com 共享博客 sharedbk.com
图片声明:本站部分配图来自网络。本站只作为美观性配图使用,无任何非法侵犯第三方意图,一切解释权归图片著作权方,本站不承担任何责任。如有恶意碰瓷者,必当奉陪到底严惩不贷!