PHP 忒聊
綴豖
ヶ輛
yp_get_default_domain
(PHP 3 = 3.0.7, PHP 4)
Description
yp_get_default_domain() returns the default domain of the node or FALSE. Can be used as the domain parameter for successive NIS calls.
A NIS domain can be described a group of NIS maps. Every host that needs to look up information binds itself to a certain domain. Refer to the documents mentioned at the beginning for more detailed information.
瞰赽 1. Example for the default domain
?php $domain = yp_get_default_domain(); echo "Default NIS domain is: ". $domain;?
綴豖
れ萸
ヶ輛
yp_first
奻珨撰
yp_master