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

search for in the

yp_master> <yp_first
Last updated: Fri, 13 Nov 2009

view this page in

yp_get_default_domain

(PHP 4, PHP 5 <= 5.0.5)

yp_get_default_domainマシンのデフォルト NIS ドメインを取得する

説明

string yp_get_default_domain ( void )

ノードのデフォルトドメインを返します。 この後の NIS コールで、これをドメインパラメータとして使用可能です。

NIS ドメインは、NIS マップの集合として説明できます。情報を検索する 必要がある各ホストは、そのホスト自体あるドメインに属しています。 詳細な情報については、冒頭に示したドキュメントを参照ください。

返り値

ノードのデフォルトドメイン または FALSE を返します。 返り値は、この後の NIS コールでドメインパラメータとして使用可能です。

例1 デフォルトドメインの例

<?php
$domain 
yp_get_default_domain();
echo 
"デフォルトの NIS ドメインは、" $domain;
?>



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

yp_master> <yp_first
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites