TAILIEUCHUNG - PHP Developer's Dictionary- P45

PHP Developer's Dictionary- P45: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 The imap_open function opens an IMAP stream to the specified mailbox. To accomplish this connection you must pass the appropriate username and password . If the attempt fails an error will be returned. When using this function the syntax for mailbox is important. The first portion of the mailbox value is the server name path and port number which are contained in brackets . Following the brackets you can specify a folder or group name depending on the type of server to which you are connecting. The optional flags parameter is a bit mask that can contain one or more of the items in Table . Table . Values for the Bit Mask Value Description CL_EXPUNGE Expunge mailbox automatically when closing connection. OP_ANONYMOUS Don t use or update an .newsrc for news NNTP only . OP_HALFOPEN Open a connection but not a mailbox for IMAP and NNTP names . OP_READONLY Open mailbox in read-only mode. This function can be used to connect to an IMAP POP3 or NNTP server. Sample syntax for these connections are as follows mbox imap_open 143 INBOX raw mypass IMAP mbox imap_open pop3 110 raw mypass POP3 mbox imap_open nntp 119 raw mypass NNTP imap_ping Syntax int imap_ping int imap stream Description The imap_ping function will check whether imap stream is still active and will return 1. If not 0 will be returned. imap_qprint Syntax string imap_qprint string string Description IT-SC book 220 PHP Developer s Dictionary The imap_qprint function will convert a quoted-printable string to an 8-bit string which it returns. For more information on this conversion you can check out Section The imap_qprint function will convert a quoted-printable string to an 8-bit string which it returns. For more information on this conversion you can check out in the Request For Comments RFC 2045 which can be found at http rfc . imap_renamemailbox Syntax int imap_renamemailbox int imap stream string .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.