I am trying to get set up, but I am having problem with xmlrpc.
I downloaded xmlrpc-2.0rc3.zip, and unzipped it in my Apache directory (/var/www/html/). The xmlrpc.inc and xmlrpcs.inc files are there. I then tried to get an example working to make sure I am set up correctly, but I have not have any success.
This is the 'client.php' file:
------------------------------------------------------------------------------------
xmlrpc
XML-RPC test
<?php
include("lib/xmlrpc.inc");
if (!empty($_REQUEST["number"])) {
// first we create an xmlrpc message to call the method "multiply"
// passing $number as an xmlrpc int data type
echo "A";
$f = new xmlrpcmsg('multiply',
array(new xmlrpcval($_POST["number"], "int")));
echo "B";
// Now we create an xmlrpc_client connecting to the xmlrpc server
$c = new xmlrpc_client("servfoo.php",
"192.168.1.3", 9990);
echo "C";
$c->setDebug(1);
echo "D";
echo $f;
echo $c;
// We send the xmlrpc message
$r = $c->send($f);
echo $r;
echo "E";
// And get the response
$v = $r->value();
echo $v;
// Check for Errors
if (!$r->faultCode()) {
print ("Number ". $number . " is " . $v->scalarval() . "