Re: XML_RPC
| From: | Marshall Roch | Date: | Sun, 26 Oct 2003 00:07:39 +0000 |
| Subject: | Re: XML_RPC | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8586@lists.php.net to get a copy of this message | ||
Tony Bibbs wrote:
Ok, thanks. I'll stick with the PEAR::XML_RPC for now since it removes the requirement for a specific PHP extension. Last question I have is does anyone have an example of have to get an XML_RPC service to return an array of values? All examples I see simply return single values which just won't work.Try calling system.listMethods at xmlrpc.usefulinc.com/demo/server.php: <?php require_once 'RPC.php'; echo "<pre>"; $c = new XML_RPC_Client("/demo/server.php", "xmlrpc.usefulinc.com", 80); $c->setDebug(1); $f = new XML_RPC_Message('system.listMethods'); $r = $c->send($f); $v = $r->value(); echo "</pre>"; ?>