yp_get_default_domain
<<<
yp_master yp_match
>>>

8.81 NIS
8 Référence des fonctions
 Manuel PHP

Introduction
Pré-requis
Installation
Configuration à l'exécution
Constantes pré-définies
yp_all
yp_cat
yp_err_string
yp_errno
yp_first
yp_get_default_domain
->yp_master
yp_match
yp_next
yp_order

8.81.12 yp_master() Retourne le nom de la machine maître pour une carte

[ Exemples avec yp_master ]   PHP 3>= 3.0.7, PHP 4 , PHP 5

string  yp_master ( string   domain , string   map )

yp_master retourne le nom de la machine maître d'une carte.

Exemple de maître NIS

<?php
$number
= yp_master($domain, $mapname);
echo
'Le maître pour cette carte est : ' . $master;
?>

Voir aussi yp_get_default_domain .

<< yp_master >>
yp_get_default_domain NIS yp_match