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

search for in the

yp_match> <yp_get_default_domain
[edit] Last updated: Sun, 26 May 2013

view this page in

yp_master

(PHP 4, PHP 5 <= 5.0.5)

yp_masterDevuelve el nombre de máquina del servidor NIS maestro de un mapa dado

Descripción

string yp_master ( string $domain , string $map )

Devuelve el nombre de máquina del servidor NIS maestro de un map dado.

Parámetros

domain

El nombre de dominio NIS.

map

El mapa NIS.

Valores devueltos

Ejemplos

Ejemplo #1 Ejemplo para un NIS maestro

<?php
$number 
yp_master($domain$mapname);
echo 
"El servidor maestro para este mapa es: " $master;
?>

Ver también



add a note add a note User Contributed Notes yp_master - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites