<HTML ><HEAD ><TITLE >NIS functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK REL="HOME" TITLE="PHP Manual" HREF="manual.html"><LINK REL="UP" TITLE="Function Reference" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="syslog" HREF="function.syslog.html"><LINK REL="NEXT" TITLE="yp_get_default_domain" HREF="function.yp-get-default-domain.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.syslog.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.yp-get-default-domain.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.nis" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >XXXV. NIS functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN19529" ></A ><P > NIS (formerly called Yellow Pages) allows network management of important administrative files (e.g. the password file). For more information refer to the NIS manpage and <A HREF="http://www.desy.de/~sieversm/ypdoku/ypdoku/ypdoku.html" TARGET="_top" > Introduction to YP/NIS</A >. There is also a book called <A HREF="http://www.oreilly.com/catalog/nfs/noframes.html" TARGET="_top" >Managing NFS and NIS</A > by Hal Stern. </P ><P > To get these functions to work, you have to configure PHP with <TT CLASS="option" >--with-yp</TT >. </P ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="function.yp-get-default-domain.html" >yp_get_default_domain</A > — Fetches the machine's default NIS domain.</DT ><DT ><A HREF="function.yp-order.html" >yp_order</A > — Returns the order number for a map.</DT ><DT ><A HREF="function.yp-master.html" >yp_master</A > — Returns the machine name of the master NIS server for a map.</DT ><DT ><A HREF="function.yp-match.html" >yp_match</A > — Returns the matched line.</DT ><DT ><A HREF="function.yp-first.html" >yp_first</A > — Returns the first key-value pair from the named map.</DT ><DT ><A HREF="function.yp-next.html" >yp_next</A > — Returns the next key-value pair in the named map.</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.syslog.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="manual.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.yp-get-default-domain.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >syslog</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >yp_get_default_domain</TD ></TR ></TABLE ></DIV ></BODY ></HTML >