(PHP 3>= 3.0.7, PHP 4 >= 4.0.0)
yp_next -- Vrßtit dal╣φ klφΦ/hodnota pßr mapy
Popis
array
yp_next ( string domain, string map, string key)
yp_next() vracφ dal╣φ klφΦ/hodnota pßr v map∞ po danΘm
klφΦi, nebo FALSE.
P°φklad 1. Ukßzka NIS next <?php
$entry = yp_next ($domain, "passwd.byname", "joe");
if (!$entry) {
echo yp_errno() . ": " . yp_err_string();
}
$key = key ($entry);
echo "Polo╛ka nßsledujφcφ po joe mß klφΦ " . $key
. " a hodnotu " . $entry[$key];
?> |
|
Viz takΘ yp-get-default-domain().