Location: PHPKode > scripts > PHP RPC Lite > client.php
<?
require_once 'lib/class.client.inc';
$url = "http://gregory.pp.ru/rpc/server.php";

$rpc = RPC::Proxy($url);

echo $rpc->get_service_name()." @ ".$url."\n";
echo "2 + 3 = ". $rpc->sum(2, 3)."\n";
echo "Ping = ".$rpc->uptime." mS\n";
?>
Return current item: PHP RPC Lite