Yeah, that seems to work. Here is what I changed my client/server to:
CLIENT:
$client = new XML_RPC_Client('/xmlrpc.php', 'localhost');
$msg = new XML_RPC_Message('stuff');
$result = $client->send($msg);
if($result->faultCode())
{
// we have an error
echo "Error Code: " . $result->faultCode
Hi Jough,
After getting spooked that you'd managed to find another manifestation
of a bug that I'd thought I'd fixed the other day I was releaved to find
that was not the case - however you have uncovered an interesting
drawback of the PEAR XML RPC lib, in that it doesn't like the use of
"system."
Hi There! Thanks for your reply! Sorry it's taken awhile to respond.
Anyhow, I changed my code to the following:
require_once 'XML/RPC.php';
$client = new XML_RPC_Client('/xmlrpc.php', 'localhost');
$msg = new XML_RPC_Message('system.load');
$result = $client->send($msg);
if($result->faultCode())
3 matches
Mail list logo