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

search for in the

yp_master> <yp_first
Last updated: Fri, 22 Aug 2008

view this page in

yp_get_default_domain

(PHP 4, PHP 5 <= 5.0.5)

yp_get_default_domainTrae el valor por omision de dominios de maquina NIS.

Descripcion

int yp_get_default_domain ( void )

yp_ get_default_domain() Retorna el valor por omision del dominio del nodo o FALSO. Puede ser usado el parametro de dominio para sucesivas llamadas a NIS.

Un dominio de NIS puede ser descrito en un grupo de mapas NIS. Cada host necesita buscar uniones de informacion en un mismo dominio. Acudir a los documentos mencionados en el comienzo para mas informacion.

Example #1 Ejemplo para el dominio por omision

<?$domain yp_ get_default_domain (); if (!$ domain) {"echo yp_errno().":" .yp_err_string();}
         echo "
El valor por omision de dominio NIS es:  $ domain;?>

Ver tambien: yp_ errno (nombre de la funcion) y yp_err_string (nombre de la funcion)



add a note add a note User Contributed Notes
yp_get_default_domain
There are no user contributed notes for this page.

yp_master> <yp_first
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites