SimpleXMLRPC

程序名称:SimpleXMLRPC

授权协议: GPL

操作系统: 跨平台

开发语言: PHP

SimpleXMLRPC 介绍

Simple XMLRPC 是 一个 PHP 语言对 XML-RPC 协议的封装。

示例代码:

`<?php
require_once (‘simpleXMLRPCClient.class.php’);

$server_path = ‘/simplexmlrpc/index.php’;
$server_hostname = ‘localhost’;
$sendHTTPS = ;
$serverPort = NULL;

$xmlrpc = new SimpleXMLRPCClient ();
$xmlrpc->debug = ;
$xmlrpc->SetXMLRPCServer ($server_hostname, $server_path, $serverPort,
$sendHTTPS);

Array that we want to send

$arrayOfStructs = Array ( Array (‘curly’ => 3),
Array (‘curly’ => 2)
);

Create the XMLRPC message with the methodName

$xmlrpc->CreateXMLRPCMessage (‘validator1.arrayOfStructsTest’);

Now we simply add the array we want to send with the message

$xmlrpc->AddArray ($arrayOfStructs);

And now we send it and we get back an array

$array = $xmlrpc->SendXMLRPC ();

print out the returned array

print_r ($array);

?>`

SimpleXMLRPC 官网

http://simplexmlrpc.sourceforge.net/

相关编程语言

MuPlayer 是一款跨平台、轻量级的音频播放解决方案,...
OS FLV 是一个 开源和可嵌入网页的flv播放器。 这个...
DewPlayer音乐播放器,样式很简单,而且很实用.播放器...
JW FLV MEDIA PLAYER是一个开源的在网页上使用的Fla...
Speakker 是一个基于 Web 浏览器的音乐播放器,只提...
Player Framework 是一个开源的支持 HTML5 的视频播...