PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

yp_match> <yp_get_default_domain
Last updated: Fri, 10 Oct 2008

view this page in

yp_master

(PHP 4, PHP 5 <= 5.0.5)

yp_master指定したマップのマスタ NIS サーバのマシン名を返す

説明

string yp_master ( string $domain , string $map )

yp_master() は、指定したマップ map のマスタ NIS サーバのマシン名を返します。

パラメータ

domain

NIS ドメイン名。

map

NIS マップ。

返り値

例1 NIS マスタの例

<?php
$number 
yp_master($domain$mapname);
echo 
"このマップのマスタは、" $master;
?>



add a note add a note User Contributed Notes
yp_master
There are no user contributed notes for this page.

yp_match> <yp_get_default_domain
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites