[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.

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: ?php require_once 'XML/RPC.php'; $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