Новые книги

This book was written to provide a single reference for network administration in a Linux environment. Beginners and experienced users alike should find the information they need to cover nearly all important administration activities required to manage a Linux network configuration. The possible range of topics to cover is nearly limitless, so of course it has been impossible to include everything there is to say on all subjects. We've tried to cover the most important and common ones. We've found that beginners to Linux networking, even those with no prior exposure to Unix-like operating systems, have found this book good enough to help them successfully get their Linux network configurations up and running and get them ready to learn more.

There are many books and other sources of information from which you can learn any of the topics covered in this book (with the possible exception of some of the truly Linux-specific features, such as the new Linux firewall interface, which is not well documented elsewhere) in greater depth. We've provided a bibliography for you to use when you are ready to explore more.
Чтобы заработать деньги в интернете (да и не только в интернете), кроме знания прибыльных ниш и учета расходов с доходами необходимо кое-что еще. Необходимо понимать и знать, как работают механизмы и процессы, приносящие в итоге вам прибыль в виде круглых сумм. Досконально разбираясь в них, вы сможете построить бизнес на чем угодно и где угодно!

yp_get_default_domain

Учебник РНР
НазадВперёд

yp_get_default_domain

(PHP 3>= 3.0.7, PHP 4)

yp_get_default_domain - извлекает NIS-домен по умолчанию данной машины.

Описание

int yp_get_default_domain (void)

yp_get_default_domain() возвращает домен по умолчанию данного узла или FALSE. Можно использовать как параметр domain для последующих вызовов NIS.

NIS-домен может быть описан группой NIS-карт. Каждый хост, который ищет информацию, привязывает себя к определённому домену. Обратитесь к документации, упомянутой в начале, для получения детальной информации.

Пример 1. Для домена по умолчанию
<?php
$domain = yp_get_default_domain();
echo "Default NIS domain is: " . $domain;
?>

Назад Оглавление Вперёд
yp_first Вверхyp_master