|
Последние активные темы форума |
|
maxdb_stat
(no version information, might be only in CVS) maxdb_stat -- Gets the current system status
DescriptionПроцедурный стиль: mixed maxdb_stat ( resource link ) maxdb_stat() returns a string containing several
information about the MaxDB server running.
Return valuesA string describing the server status. FALSE if an error occurred.
Example
Пример 1. Процедурный стиль
<?php
$link
=
maxdb_connect
(
"localhost"
,
"MONA"
,
"RED"
);
/* check connection */
if (
maxdb_connect_errno
()) {
printf
(
"Connect failed: %s\n"
,
maxdb_connect_error
());
exit();
}
printf
(
"System status: %s\n"
,
maxdb_stat
(
$link
));
maxdb_close
(
$link
);
?>
|
|
The above examples would produce the following output:
System status: Kernel 7<...> |
|