IMAP NNTP

From: Date: Wed, 10 May 2000 22:45:13 +0000
Subject: IMAP NNTP
Groups: php.version4 
Request: Send a blank email to php-version4+get-14800@lists.php.net to get a copy of this message
I found the code on my own for listing the news groups off you NNTP server, i used an undocumented function called imap_list here is the code $nntp=imap_open("{localhost/nntp:119}","","",OP_ANONYMOUS|OP_HALFOPEN); $group_lst=imap_list($nntp, '{localhost/nntp:119}','*'); for($i=0;$i<count($group_lst);$i++) { echo $group_lst[$i].'<br>'; } Hope this helps someone out in the future Mikey T

« previous php.version4 (#14800) next »