 |
 |
 |
 |
Warning: include(../levoe_menu.php) [ function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/yp-next.html on line 46
Warning: include() [ function.include]: Failed opening '../levoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/yp-next.html on line 46
|
 |
 |
 |
 | |
|  |
(PHP 3>= 3.0.7, PHP 4)
yp_next - возвращает следующую пару key-value в именованной карте. Описание
array yp_next (string domain, string map, string key) yp_next() возвращает следующую пару key-value в именованной карте после
специфицированного ключа или FALSE.
Пример 1. NIS next
<?php
$entry = yp_next ($domain, "passwd.byname", "joe");
if (!$entry) {
echo "No more entries found\n";
<!-- echo yp_errno() . ": " . yp_err_string(); -->
}
$key = key ($entry);
echo "The next entry after joe has key " . $key
. " and value " . $entry[$key];
?> | |
См. также yp-get-default-domain(). |  | |
|
 |
 |
 |
 |
Warning: include(../pravoe_menu.php) [ function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/yp-next.html on line 152
Warning: include() [ function.include]: Failed opening '../pravoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/yp-next.html on line 152
|
 |
 |
 |
 | |