I'm trying to use PHP's imap_open function to connect to an NNTP server but have so far been entirely unsuccessful. (PHP documentation states that this is possible, despite IMAP access being the primary purpose of the function.) After trying fruitlessly to troubleshoot a few free newsreaders for PHP, I've boiled the code down to its very simplest element:
<?php
$nntp = imap_open("{news.mozilla.org:119/nntp}", "", "");
?>
However, you can see what happens when I try to run that on two completely different servers, configured by different organizations:
http://tiszenkel.com/channelone/nntn/nntp.php
http://video.channelone.com/newsreader/nntp.php
Is there some server setting I'm missing in both cases? (I'm not the administrator for either server, but I can make requests of the admin for one of them.)