Sophie

Sophie

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

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
>Net_Gopher</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="gnupg_verify"
HREF="function.gnupg-verify.html"><LINK
REL="NEXT"
TITLE="gopher_parsedir"
HREF="function.gopher-parsedir.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.gnupg-verify.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.gopher-parsedir.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.net-gopher"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>LII. Net_Gopher</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN61845"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="net-gopher.intro"
>Introdução</A
></H1
><P
>&#13;     The gopher protocol, as defined by <A
HREF="http://www.faqs.org/rfcs/rfc1436"
TARGET="_top"
>RFC 1436</A
>,
     is generally considered the ancestor of the modern HTTP protocol.
     However, gopher was also intended to provide references to non-gopher
     resources including telnet, wais, nntp, and even http. This extension
     adds gopher support to PHP's <A
HREF="wrappers.html"
>URL Wrappers</A
>,
     and provides a helper function <A
HREF="function.gopher-parsedir.html"
><B
CLASS="function"
>gopher_parsedir()</B
></A
> to
     make sense of gopher formatted directory listings.
    </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="net-gopher.requirements"
>Dependências</A
></H1
><P
>&#13;    </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="net-gopher.install"
>Instalação</A
></H1
><P
>&#13;  Prerequisite: PHP 4.3.0 or higher.
 </P
><P
>&#13;  Informações para a instalação desta extensão PECL
 podem ser encontradas no manual no capitulo entitulado <A
HREF="install.pecl.html"
>Instalação
 de extensões PECL</A
>. Informações adicionais como novas versões,
 downloads, arquivos fontes, manutenções, e um Changelog, podem ser
 obtidos aqui: 
  <A
HREF="http://pecl.php.netnet_gopher"
TARGET="_top"
>http://pecl.php.netnet_gopher</A
>
 </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="net-gopher.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="net-gopher.resources"
>Tipos Resource</A
></H1
><P
>Esta extensão não possui nenhum tipo resource.</P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="net-gopher.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
><DIV
CLASS="table"
><A
NAME="AEN61871"
></A
><P
><B
>Tabela 1. Net_Gopher constants</B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><COL><COL><COL><THEAD
><TR
><TH
>Constant</TH
><TH
>Value</TH
><TH
>Description</TH
></TR
></THEAD
><TBODY
><TR
><TD
><TT
CLASS="constant"
><B
>GOPHER_DOCUMENT</B
></TT
></TD
><TD
>0</TD
><TD
>Standard <TT
CLASS="literal"
>text/plain</TT
> document.</TD
></TR
><TR
><TD
><TT
CLASS="constant"
><B
>GOPHER_DIRECTORY</B
></TT
></TD
><TD
>1</TD
><TD
>A resource containing a gopher formatted directory listing.</TD
></TR
><TR
><TD
><TT
CLASS="constant"
><B
>GOPHER_BINHEX</B
></TT
></TD
><TD
>4</TD
><TD
>A BinHex encoded binary file.</TD
></TR
><TR
><TD
><TT
CLASS="constant"
><B
>GOPHER_DOSBINARY</B
></TT
></TD
><TD
>5</TD
><TD
>A DOS formatted binary archive.</TD
></TR
><TR
><TD
><TT
CLASS="constant"
><B
>GOPHER_UUENCODED</B
></TT
></TD
><TD
>6</TD
><TD
>A UUEncoded file.</TD
></TR
><TR
><TD
><TT
CLASS="constant"
><B
>GOPHER_BINARY</B
></TT
></TD
><TD
>9</TD
><TD
>A generic binary file.</TD
></TR
><TR
><TD
><TT
CLASS="constant"
><B
>GOPHER_INFO</B
></TT
></TD
><TD
>255</TD
><TD
>An Informational entry</TD
></TR
><TR
><TD
><TT
CLASS="constant"
><B
>GOPHER_HTTP</B
></TT
></TD
><TD
>254</TD
><TD
>A reference to an HTTP resource.</TD
></TR
><TR
><TD
><TT
CLASS="constant"
><B
>GOPHER_UNKNOWN</B
></TT
></TD
><TD
>-1</TD
><TD
>&#13;       An unrecognized entry.
      </TD
></TR
></TBODY
></TABLE
></DIV
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="net-gopher.examples"
>Exemplos</A
></H1
><DIV
CLASS="informalexample"
><P
></P
><A
NAME="AEN61928"
></A
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
CELLPADDING="5"
><TR
><TD
><code><font color="#000000">
<font color="#0000BB">&lt;?php<br />readfile</font><font color="#007700">(</font><font color="#DD0000">"gopher://gopher.example.com/somedocument"</font><font color="#007700">);<br /></font><font color="#0000BB">?&gt;</font>
</font>
</code></TD
></TR
></TABLE
><P
></P
></DIV
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Índice</B
></DT
><DT
><A
HREF="function.gopher-parsedir.html"
>gopher_parsedir</A
>&nbsp;--&nbsp;Translate a gopher formatted directory entry into an associative array.</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.gnupg-verify.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.gopher-parsedir.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>gnupg_verify</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>Acima</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>gopher_parsedir</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>