Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 22828 программистов и 1226 роботов. Сейчас ищут 774 программиста ...
Приступая к работе

yp_get_default_domain - Fetches the machine's default NIS domain

Вернуться к: YP/NIS Функции

yp_get_default_domain

(PHP 4, PHP 5 <= 5.0.5)

yp_get_default_domainFetches the machine's default NIS domain

Описание

string yp_get_default_domain ( void )

Returns the default domain of the node. Can be used as the domain parameter for successive NIS calls.

A NIS domain can be described a group of NIS maps. Every host that needs to look up information binds itself to a certain domain. Refer to the documents mentioned at the beginning for more detailed information.

Возвращаемые значения

Returns the default domain of the node or FALSE. Can be used as the domain parameter for successive NIS calls.

Примеры

Пример #1 Example for the default domain

<?php
$domain 
yp_get_default_domain();
echo 
"Default NIS domain is: " $domain;
?>



Вернуться к: YP/NIS Функции

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware