2
PHP Backend XML-RPC client against pear.php.net XMLRPC server
5
set_include_path(realpath(dirname(__FILE__) . '/../../../../') . PATH_SEPARATOR . get_include_path());
6
require_once 'XML/RPC2/Client.php';
10
'prefix' => 'package.'
12
$client = XML_RPC2_Client::create('http://pear.php.net/xmlrpc.php', $options);
13
$result = $client->info('XML_RPC2');
14
if (is_array($result)) {
15
print $result['name'] . "\n";
17
die('result is not an array !');