SommaireTelecharger la documentationChapitre suivantChapitre precedent  

  .: News :.: Edito :.: Scripts :.: Forum :.: Erreurs :.: Jobs :. 
 
Sommaire

NIS

yp_get_default_domain
yp_order
yp_master
yp_match
yp_first
yp_next

6.106.3 yp_master

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

Description

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 
"Master for this map is: " $master;
?>

Voir aussi yp-get-default-domain.


Chapitre précédentChapitre suivantAccueil nexen.net