roy-ler
hi all,
i'm trying to use the xmlrpc functions to interact with DokuWiki and retrieve information.
i've copied the code from the example, but i get nothing back from the function:
<?php
include('dokuwiki/xmlrpc-3.0.0.beta/lib/xmlrpc.inc'); // path name is correct
$c = new xmlrpc_client('dokuwiki/lib/exe/xmlrpc.php', 'adminwiki.kreisbote.de', 80); // path name is correct
$c->setDebug(1);
$m = new xmlrpcmsg('dokuwiki.getVersion'); //tried 'wiki.getVersion' as well
$r = $c->send($m);
if($r == false) die('error');
if(!$r->faultCode()){
$v = php_xmlrpc_decode($r->value());
echo "$v"; // gets nothing
}
?>
anyone?...