diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-03-15 15:30:22 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-03-15 15:30:22 +0800 |
commit | 0b8de94f2b29a383d6b42260a57d249a3ba88403 (patch) | |
tree | 8cb23ec0ab60185274a40bddd987192ddedc59f2 /pttpi/cgi/t/article.readfn.pl | |
parent | 2428ed917d4a0c82c956c355de60b6dff1afca23 (diff) | |
download | pttbbs-0b8de94f2b29a383d6b42260a57d249a3ba88403.tar.gz pttbbs-0b8de94f2b29a383d6b42260a57d249a3ba88403.tar.zst pttbbs-0b8de94f2b29a383d6b42260a57d249a3ba88403.zip |
no longer maintained
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/not-maintained@1595 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'pttpi/cgi/t/article.readfn.pl')
-rw-r--r-- | pttpi/cgi/t/article.readfn.pl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pttpi/cgi/t/article.readfn.pl b/pttpi/cgi/t/article.readfn.pl new file mode 100644 index 00000000..e2d0bc27 --- /dev/null +++ b/pttpi/cgi/t/article.readfn.pl @@ -0,0 +1,15 @@ +#!/usr/bin/perl +# $Id: article.readfn.pl,v 1.1 2003/05/19 02:06:34 in2 Exp $ +use Frontier::Client; +use Frontier::RPC2; +use MIME::Base64; +use Data::Dumper; +do 'host.pl'; + +$bid = $ARGV[0] || 0; +$fn = $ARGV[1] || 'M.1047292518.A.48E'; + +$server = Frontier::Client->new(url => $server_url); +$result = $server->call('article.readfn', $bid, $fn); + +print decode_base64($result->{content}->value()); |