Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7">

yp_master

(PHP 3>= 3.0.7, PHP 4 )

yp_master --  Gibt den Namen des Hauptservers für eine NIS-Map zurück

Beschreibung

string yp_master ( string domain, string map)

yp_master() gibt den Namen des Hauptservers (Master) für eine NIS-Map zurück.

Beispiel 1. Beispiel für den NIS Master

<?php
$number = yp_master ($domain, $mapname);
echo "Master for this map is: " . $master;
?>

Siehe auch yp-get-default-domain().