SimpleXMLRPC

码农软件 · 软件分类 · RPC/XMLRPC项目 · 2019-04-12 07:26:42

软件介绍

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);

?>

本文地址:https://codercto.com/soft/d/3394.html

Programming From The Ground Up

Programming From The Ground Up

Jonathan Bartlett / Bartlett Publishing / 2004-07-31 / USD 34.95

Programming from the Ground Up is an introduction to programming using assembly language on the Linux platform for x86 machines. It is a great book for novices who are just learning to program as wel......一起来看看 《Programming From The Ground Up》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

html转js在线工具
html转js在线工具

html转js在线工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换