CVS update: php3/doc/functions
| From: | rasmus | Date: | Fri, 06 Nov 1998 16:25:31 +0000 |
| Subject: | CVS update: php3/doc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2248@lists.php.net to get a copy of this message | ||
Date: Friday November 6, 1998 @ 11:25
Author: rasmus
Update of /repository/php3/doc/functions
In directory asf:/u2/tmp/cvs-serv6997/doc/functions
Modified Files:
imap.sgml
Log Message:
Let people know that the imap_open() function works on POP3 and NNTP
as well.
Index: php3/doc/functions/imap.sgml
diff -c php3/doc/functions/imap.sgml:1.18 php3/doc/functions/imap.sgml:1.19
*** php3/doc/functions/imap.sgml:1.18 Fri Sep 11 16:08:46 1998
--- php3/doc/functions/imap.sgml Fri Nov 6 11:25:29 1998
***************
*** 528,536 ****
<paramdef>int <parameter>flags</parameter></paramdef>
</funcsynopsis>
<para>
! Returns an IMAP stream on success and false on error.
<para>
! the options are a bit mask with noe or more of the following:
<itemizedlist>
<listitem><simpara>
OP_READONLY - Open mailbox read-only
--- 528,551 ----
<paramdef>int <parameter>flags</parameter></paramdef>
</funcsynopsis>
<para>
! Returns an IMAP stream on success and false on error. This function can
! also be used for opening stream to POP3 and NNTP servers.
! To connect to an IMAP server running on port 143 on the local machine, do the following:
! <informalexample>
! $mbox = imap_open("{localhost:143}INBOX","user_id","password");
! </informalexample>
! To connect to a POP3 server on port 110 on the local server, use:
! <informalexample>
! $mbox =
imap_open("{localhost/pop3:110}INBOX","user_id","password");
! </informalexample>
! To connect to an NNTP server on port 119 on the local server, use:
! <informalexample>
! $nntp = imap_open("{localhost/nntp:119}comp.test","","");
! </informalexample>
! To connect to a remote server replace "localhost" with the name or the IP address
! of the server you want to connect to.
<para>
! The options are a bit mask with noe or more of the following:
<itemizedlist>
<listitem><simpara>
OP_READONLY - Open mailbox read-only
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net