õÞÅÂÎÉË òîò
îÁÚÁÄ ÷ÐÅÒ£Ä

yp_master

(PHP 3>= 3.0.7, PHP 4)

yp_master - ×ÏÚ×ÒÁÝÁÅÔ ÍÁÛÉÎÎÏÅ ÉÍÑ master NIS-ÓÅÒ×ÅÒÁ ÄÌÑ ËÁÒÔÙ.

ïÐÉÓÁÎÉÅ

string yp_master (string domain, string map)

ðÒÉÍÅÒ 1. NIS master
<?php $number = yp_master ($domain, $mapname); echo "Master for this map is: " . $master; ?>

óÍ. ÔÁËÖÅ yp-get-default-domain() .


îÁÚÁÄ ïÇÌÁ×ÌÅÎÉÅ ÷ÐÅÒ£Ä
yp_get_default_domain ÷×ÅÒÈ yp_match