Services webmasters
Partenaires
Jeux concours gratuits
 
yp_get_default_domain
<<<
yp_master yp_match
>>>

7.113 NIS
7 Index des fonctions
 Manuel PHP

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

7.113.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

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 .

<< yp_master >>
yp_get_default_domain NIS yp_match
Services webmasters
Les manuels
 
CoursPHP.com - Reproduction interdite -