Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 703d980c580707c382b4e43e25965bc5 > files > 12025

php-manual-pt_BR-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>YP/NIS Functions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="Manual do PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="Referência das Funções"
HREF="funcref.html"><LINK
REL="PREVIOUS"
TITLE="yaz_wait"
HREF="function.yaz-wait.html"><LINK
REL="NEXT"
TITLE="yp_all"
HREF="function.yp-all.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="reference"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Manual do PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.yaz-wait.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.yp-all.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.nis"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>CLXXXVI. YP/NIS Functions</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN242077"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="nis.intro"
>Introdução</A
></H1
><P
>&#13;     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.tldp.org/HOWTO/NIS-HOWTO/index.html"
TARGET="_top"
>&#13;     The Linux NIS(YP)/NYS/NIS+ HOWTO</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
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Nota: </B
>
      Esta extensão foi movida para o repositório <A
HREF="http://pecl.php.net"
TARGET="_top"
>PECL</A
> e não é mais distribuida em conjunto com o
 PHP a partir do PHP 5.1.0.
     </P
></BLOCKQUOTE
></DIV
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Nota: </B
>Esta extensão não está
 disponível na plataforma Windows.</P
></BLOCKQUOTE
></DIV
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="nis.requirements"
>Dependências</A
></H1
><P
>&#13;     None besides functions from standard Unix libraries which are
     always available (either <TT
CLASS="filename"
>libc</TT
> or 
     <TT
CLASS="filename"
>libnsl</TT
>, configure will detect which one to use).
    </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="nis.installation"
>Instalação</A
></H1
><P
>&#13;  To get these functions to work, you have to configure PHP with
  <CODE
CLASS="option"
>--enable-yp</CODE
>.
 </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="nis.configuration"
>Configurações em execução</A
></H1
><P
>Esta extensão não define nenhum parâmetro de configuração no <TT
CLASS="filename"
>php.ini</TT
>.</P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="nis.constants"
>Constantes pré-definidas</A
></H1
><P
>&#13;As contantes abaixo são definidas por esta extensão e somente
 estarão disponíveis quando a extensão foi compilada com o PHP
 ou carregada dinamicamente durante a execução.
</P
><P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><TT
CLASS="constant"
><B
>YPERR_ACCESS</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     access violation (this has only been added recently and is only available from PECL CVS for now)
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_BADARGS</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     The function arguments are bad 
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_BADDB</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     YP database is bad
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_BUSY</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     Database busy
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_DOMAIN</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     cannot bind to server in this domain
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_KEY</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     no such key in map
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_MAP</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     no such map in server's domain
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_NODOM</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     Local domain name not set
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_NOMORE</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     No more records in map database
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_PMAP</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     Can't communicate with portmapper 
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_RESRC</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     resource allocation failure 
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_RPC</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     RPC failure - domain has been unbound
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_YPBIND</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     Can't communicate with ypbind
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_YPERR</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     internal yp server or client error 
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_YPSERV</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     Can't communicate with ypserv
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>YPERR_VERS</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;     YP version mismatch
    </P
></DD
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Índice</B
></DT
><DT
><A
HREF="function.yp-all.html"
>yp_all</A
>&nbsp;--&nbsp;Traverse the map and call a function on each entry</DT
><DT
><A
HREF="function.yp-cat.html"
>yp_cat</A
>&nbsp;--&nbsp;Return an array containing the entire map</DT
><DT
><A
HREF="function.yp-err-string.html"
>yp_err_string</A
>&nbsp;--&nbsp;Returns the error string associated with the given error code</DT
><DT
><A
HREF="function.yp-errno.html"
>yp_errno</A
>&nbsp;--&nbsp;Returns the error code of the previous operation</DT
><DT
><A
HREF="function.yp-first.html"
>yp_first</A
>&nbsp;--&nbsp;Returns the first key-value pair from the named map</DT
><DT
><A
HREF="function.yp-get-default-domain.html"
>yp_get_default_domain</A
>&nbsp;--&nbsp;Fetches the machine's default NIS domain</DT
><DT
><A
HREF="function.yp-master.html"
>yp_master</A
>&nbsp;--&nbsp;Returns the machine name of the master NIS server for a map</DT
><DT
><A
HREF="function.yp-match.html"
>yp_match</A
>&nbsp;--&nbsp;Returns the matched line</DT
><DT
><A
HREF="function.yp-next.html"
>yp_next</A
>&nbsp;--&nbsp;Returns the next key-value pair in the named map</DT
><DT
><A
HREF="function.yp-order.html"
>yp_order</A
>&nbsp;--&nbsp;Returns the order number for a map</DT
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.yaz-wait.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Principal</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.yp-all.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>yaz_wait</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>Acima</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>yp_all</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>