$xml=(substr($response,strpos($response,"rnrn")+4)); //定义xml内容
$data=xmlrpc_decode_request($xml,$method); //对xml译码
echo "method returned was:$method
";n";
var_dump($data);
echo "
//
$xml=(substr($response,strpos($response,"rnrn")+4)); //定义xml内容
$php教程vars=xmlrpc_decode($xml); //将xml译码
//
$params="system.methodsignature"; //定义数据
$method="system.methodhelp"; //定义method
$request=xmlrpc_encode_request($method,$params); //生成xml
echo $request;
//
$params=1; //定义php值
$response=xmlrpc_encode($params); //为php值生成xml
echo $response; //输出结果