<?php require_once './testrpc3/phprpc_client.php'; /** if (class_exists('PHPRPC_Client')) { echo "exist"; }else{ echo "not exist"; } **/ // $client = new PHPRPC_Client('http://bbs.hc3i.cn/api/rpcServer.php'); $client = new PHPRPC_Client('http://bbs.hc3i.cn/api/mobileServer.php'); $userSynInfo = $client->getCreditsInfo(65138); var_dump($userSynInfo); if (empty($userSynInfo)) { //第一次注册,未登录过论坛 //$client->updateCreditsInfo($getcreditsuid,'coin',10,'+'); //$client->updateCreditsInfo($getcreditsuid,'score',1,'+'); }