<?php
require_once 'XML/RPC2/Client.php';
XML_RPC2_Backend::setBackend('php');
$rpc_client = XML_RPC2_Client::create("http://work.local/xmlrpcserver.php");
try
{
  print $rpc_client->ping();
}
catch (Exception $e)
{
  print "EXCEPTION:".$e->getMessage()."\n";
  print $e->getTraceAsString();
}
print "\nDone";
?>