note 9968 modified in function.imap-open by felipe

From: Date: Tue, 22 Jul 2008 02:57:44 +0000
Subject: note 9968 modified in function.imap-open by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142471@lists.php.net to get a copy of this message
I have a single comment to add about imap_open. If you want to connect to a news server, without specifying any news gruop, you can use the following: <?php $server = "{news.servername.com/nntp:119}"; $nntp = imap_open($server,"","",OP_HALFOPEN); ?> and $nntp will become the connection ID. Regards //Babak --was-- I have a single comment to add about imap_open. If you want to connect to a news server, without specifying any news gruop, you can use the following: $server = "{news.servername.com/nntp:119}"; $nntp = imap_open($server,"","",OP_HALFOPEN); and $nntp will become the connection ID. Regards //Babak http://php.net/manual/en/function.imap-open.php

« previous php.notes (#142471) next »