NNTP (with IMAP): How to get list of newsgroups?

From: Date: Mon, 27 Mar 2000 16:20:17 +0000
Subject: NNTP (with IMAP): How to get list of newsgroups?
Groups: php.version4 
Request: Send a blank email to php-version4+get-12674@lists.php.net to get a copy of this message
I've tried this: $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>'; } It didn't work. Should it work with nntp connects or am I missing something here? My brain? =) --Jani

« previous php.version4 (#12674) next »