©
本文档使用
php.cn手册 发布
(PHP 5)
ibase_server_info — Request information about a database server
$service_handle
, int $action
)本函数还未编写文档,仅有参数列表。
[#1] kgbfernando [2009-01-19 15:49:03]
A Little Example
<?php
// get server version and implementation strings
if (($service = ibase_service_attach('localhost', 'sysdba', 'masterkey')) != FALSE) {
$server_info = ibase_server_info($service, IBASE_SVC_SERVER_VERSION)
. ' / '
. ibase_server_info($service, IBASE_SVC_IMPLEMENTATION);
ibase_service_detach($service);
}
else {
$ib_error = ibase_errmsg();
}
echo $server_info;
?>