Re: [PHP] RE: [PEAR] PHP5 and XML-RPC -=|=- DON'T USE "system." at start of RPC methodName!

2004-08-06 Thread Jough P
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

[PHP] RE: [PEAR] PHP5 and XML-RPC -=|=- DON'T USE "system." at start of RPC methodName!

2004-08-06 Thread Justin Philpott
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."

[PHP] Re: [PEAR] PHP5 and XML-RPC

2004-08-06 Thread Jough P
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())