<?php require_once('ripcord.php'); class myTest { /** * Documentation for Foo. */ public function Foo() { return 'Bar'; } } $server = ripcord::server( 'myTest' ); $server->run(); ?>
<?php require_once('ripcord.php'); $client = ripcord::xmlrpcClient( 'http://www.moviemeter.nl/ws' ); $score = $client->film->getScore( 'e3dee9d19a8c3af7c92f9067d2945b59', 500 ); ?>
以上就是Ripcord 编写 XML-RPC 实例的内容,更多相关内容请关注PHP中文网(www.php.cn)!