/[suikacvs]/messaging/newsportal/article-raw.php
Suika

Contents of /messaging/newsportal/article-raw.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Dec 1 11:17:31 2001 UTC (23 years ago) by wakaba
Branch point for: suika, MAIN
Initial revision

1 wakaba 1.1 <? $title = "Newsportal - NNTP<->HTTP Gateway";
2    
3     include "body.inc";
4     include "config.inc"; ?>
5    
6     <?
7     require("$file_newsportal");
8     flush();
9     $ns=OpenNNTPconnection($server,$port);
10    
11     if ($ns != false) {
12     ?><pre><?
13     $head=readPlainHeader($ns,$group,$id);
14     for ($i=0; $i<count($head); $i++)
15     echo $head[$i]."\n";
16     $body=readBody($ns,$id,"");
17     for ($i=0; $i<count($body); $i++)
18     echo $body[$i]."\n";
19     ?></pre><?
20     }
21     closeNNTPconnection($ns);
22     ?>
23    
24     <? include "footer.inc"; ?>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24