summaryrefslogtreecommitdiffstats
path: root/pttpi/cgi/t/board.getNarticle.pl
blob: a5fb56a16ae0f4e2c774cc03b74d26867fbbfea0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);