summaryrefslogtreecommitdiffstats
path: root/pttpi/cgi/t
diff options
context:
space:
mode:
Diffstat (limited to 'pttpi/cgi/t')
-rw-r--r--pttpi/cgi/t/board.getNarticle.pl14
1 files changed, 14 insertions, 0 deletions
diff --git a/pttpi/cgi/t/board.getNarticle.pl b/pttpi/cgi/t/board.getNarticle.pl
new file mode 100644
index 00000000..a5fb56a1
--- /dev/null
+++ b/pttpi/cgi/t/board.getNarticle.pl
@@ -0,0 +1,14 @@
+#!/usr/bin/perl
+# $Id: board.getNarticle.pl,v 1.1 2003/05/19 02:01:15 in2 Exp $
+use Frontier::Client;
+use Frontier::RPC2;
+use MIME::Base64;
+use Data::Dumper;
+do 'host.pl';
+
+$bid = $ARGV[0] || 0;
+
+$server = Frontier::Client->new(url => $server_url);
+$result = $server->call('board.getNarticle', $bid);
+
+print Dumper($result);