Sophie

Sophie

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

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
>imap_savebody</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="IMAP, POP3 and NNTP Functions"
HREF="ref.imap.html"><LINK
REL="PREVIOUS"
TITLE="imap_rfc822_write_address"
HREF="function.imap-rfc822-write-address.html"><LINK
REL="NEXT"
TITLE="imap_scanmailbox"
HREF="function.imap-scanmailbox.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="refentry"
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.imap-rfc822-write-address.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.imap-scanmailbox.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.imap-savebody"
></A
>imap_savebody</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN94725"
></A
><P
>    (no version information, might be only in CVS)</P
>imap_savebody&nbsp;--&nbsp;Save a specific body section to a file</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN94728"
></A
><H2
>Descrição</H2
>bool <B
CLASS="methodname"
>imap_savebody</B
> ( resource imap_stream, mixed file, int msg_number [, string part_number [, int options]] )<BR
></BR
><P
>&#13;   Saves a part or the whole body of the specified message. 
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN94749"
></A
><H2
>Parâmetros</H2
><P
>&#13;   <P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><CODE
CLASS="parameter"
>&#13; imap_stream</CODE
></DT
><DD
><P
>Um stream IMAP retornado por
 <A
HREF="function.imap-open.html"
><B
CLASS="function"
>imap_open()</B
></A
>.</P
></DD
><DT
><CODE
CLASS="parameter"
>file</CODE
></DT
><DD
><P
>&#13;       The path to the saved file as a string, or a valid file descriptor
       returned by <A
HREF="function.fopen.html"
><B
CLASS="function"
>fopen()</B
></A
>.
      </P
></DD
><DT
><CODE
CLASS="parameter"
>msg_number</CODE
></DT
><DD
><P
>&#13;       The message number
      </P
></DD
><DT
><CODE
CLASS="parameter"
>part_number</CODE
></DT
><DD
><P
>&#13;       The part number. It is a string of integers delimited by period which
       index into a body part list as per the IMAP4 specification
      </P
></DD
><DT
><CODE
CLASS="parameter"
>options</CODE
></DT
><DD
><P
>&#13;       A bitmask with one or more of the following:
       <P
></P
><UL
><LI
><P
>&#13;          <TT
CLASS="constant"
><B
>FT_UID</B
></TT
> - The <CODE
CLASS="parameter"
>msg_number</CODE
> is a UID
         </P
></LI
><LI
><P
>&#13;          <TT
CLASS="constant"
><B
>FT_PEEK</B
></TT
> - Do not set the \Seen flag if
          not already set
         </P
></LI
><LI
><P
>&#13;          <TT
CLASS="constant"
><B
>FT_INTERNAL</B
></TT
> - The return string is in
          internal format, will not canonicalize to CRLF.
         </P
></LI
></UL
>
      </P
></DD
></DL
></DIV
>
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN94791"
></A
><H2
>Valores de retornado</H2
><P
>&#13;   Retorna <TT
CLASS="constant"
><B
>TRUE</B
></TT
> em caso de sucesso ou <TT
CLASS="constant"
><B
>FALSE</B
></TT
> em falhas.
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN94796"
></A
><H2
>Veja também</H2
><P
>&#13;   <P
></P
><TABLE
BORDER="0"
><TBODY
><TR
><TD
><A
HREF="function.imap-fetchbody.html"
><B
CLASS="function"
>imap_fetchbody()</B
></A
></TD
></TR
></TBODY
></TABLE
><P
></P
>
  </P
></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.imap-rfc822-write-address.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.imap-scanmailbox.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>imap_rfc822_write_address</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.imap.html"
ACCESSKEY="U"
>Acima</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>imap_scanmailbox</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>