CXI. Funkce pro práci s YP/NIS
NIS
(
dříve
Yellow
Pages
)
umožňuje
síťovou
správu
důležitých
administrativních
souborů
(např
.
soubory
s
hesly
)
.
Více
informací
viz
NIS
man
stránka
a
Introduction
to
YP
/
NIS
.
Existuje
také
kniha
Managing
NFS
and
NIS
od
Hala
Sterna
.
Pokud
chcete
tyto
funkce
zprovoznit
,
musíte
PHP
zkonfigurovat
s
--with-yp
(
PHP
3
)
nebo
--enable-yp
(PHP
4
)
.
-
Obsah
-
yp_all
-- Traverse the map and call a function on each
entry
-
yp_cat
-- Return an array containing the entire map
-
yp_err_string
-- Returns the error string associated with the previous
operation
-
yp_errno
-- Returns the error code of the previous operation
-
yp_first
-- Vrátit pvní klíč/hodnota pár mapy
-
yp_get_default_domain
-- Zjistit defaultní NIS doménu stroje
-
yp_master
-- Zjistit název master NIS serveru mapy
-
yp_match
-- Vrátit odpovídající záznam
-
yp_next
-- Vrátit další klíč/hodnota pár mapy
-
yp_order
-- Returns the order number for a map