summaryrefslogtreecommitdiffstats
path: root/pttpi/cgi/t/board.getBrdInfo.pl
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-19 09:58:27 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-19 09:58:27 +0800
commit3fcf1a4b3f9bc01239ee4a192a3e7b0600301fab (patch)
tree83007b8b8afa818fac20c9c01c5dad3c2c0f4601 /pttpi/cgi/t/board.getBrdInfo.pl
parent656030670a6868af4e2b00b620711534f188dac9 (diff)
downloadpttbbs-3fcf1a4b3f9bc01239ee4a192a3e7b0600301fab.tar
pttbbs-3fcf1a4b3f9bc01239ee4a192a3e7b0600301fab.tar.gz
pttbbs-3fcf1a4b3f9bc01239ee4a192a3e7b0600301fab.tar.bz2
pttbbs-3fcf1a4b3f9bc01239ee4a192a3e7b0600301fab.tar.lz
pttbbs-3fcf1a4b3f9bc01239ee4a192a3e7b0600301fab.tar.xz
pttbbs-3fcf1a4b3f9bc01239ee4a192a3e7b0600301fab.tar.zst
pttbbs-3fcf1a4b3f9bc01239ee4a192a3e7b0600301fab.zip
rename 2.getBrdInfo.pl board.getBrdInfo.pl
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@872 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'pttpi/cgi/t/board.getBrdInfo.pl')
-rw-r--r--pttpi/cgi/t/board.getBrdInfo.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/pttpi/cgi/t/board.getBrdInfo.pl b/pttpi/cgi/t/board.getBrdInfo.pl
new file mode 100644
index 00000000..7870e386
--- /dev/null
+++ b/pttpi/cgi/t/board.getBrdInfo.pl
@@ -0,0 +1,15 @@
+#!/usr/bin/perl
+# $Id: board.getBrdInfo.pl,v 1.1 2003/05/19 01:58:27 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.getBrdInfo', $bid);
+
+print Dumper($result);
+print decode_base64($result->{title}->value());