tailieunhanh - PHP Developer's Dictionary- P43

PHP Developer's Dictionary- P43:PHP is an open source, server-side, HTML-embedded scripting language used to create dynamically generated Web pages. With an easy-to-use syntax and a large, extensible library of modules, PHP brings together the best of Perl, C++, and other languages. | PHP Developer s Dictionary You can find more information on this topic in the IMAP specification in section You can find more information on this topic in the IMAP specification in of the Request For Comments RFC 2060 at http rfc . imap_fetchheader Syntax string imap_fetchheader int imap stream int num int flags Description The imap_fetchheader function will grab and return the complete and unfiltered RFC822 http rfc format header of the message at num . The option flags can be any of the items in Table . Table . Values for the flags Parameter Value Description FT_INTERNAL Specifies the return string is in internal format. This forces it not to standardize to CRLF. FT_PRE FETCHTEXT The should be pre-fetched at the same time. This avoids an extra RTT on an IMAP connection if a full message text is desired for example in a save to local file operation . FT_UID Specifies that num is the UID and not the message ID. imap_fetchstructure Syntax object imap_fetchstructure int imap_stream int num int flag Description The imap_fetchstructure function will fetch all the structure information of the message located at num and return an object containing its envelope internal date size flags and body structure. It will also return a similar object for each MIME attachment to the message. The optional flag must be ft_uid which specifies that num is the UID and not the message ID. The returned object itself has the properties defined in Table . Table . Prooerties Contained in the Object Returned bvthe IT-SC book 210 PHP Developer s Dictionary imap_fetchstructure Function Property Description Notes type Contains the primary body type This type can be any of the following 0 Text 1 Multipart 2 Message 3 Application 4 Audio 5 Image 6 Video 7 Other encoding Contains the body transfer encoding This encoding can be any of the following 0 7BIT 1 8BIT 2 BINARY 3 BASE64 4 QUOTED-PRINTABLE 5 OTHER ifsubtype .