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://www.codercto.com/soft/d/3394.html

Python基础教程(第2版)

Python基础教程(第2版)

Magnus Lie Hetland / 司维、曾军崴、谭颖华 / 人民邮电出版社 / 2010-7 / 69.00元

本书是经典教程的全新改版,作者根据Python 3.0版本的种种变化,全面改写了书中内容,做到既能“瞻前”也能“顾后”。本书层次鲜明、结构严谨、内容翔实,特别是在最后几章,作者将前面讲述的内容应用到了10个引人入胜的项目中,并以模板的形式介绍了项目的开发过程。本书既适合初学者夯实基础,又能帮助Python程序员提升技能,即使是 Python方面的技术专家,也能从书里找到令你耳目一新的东西。一起来看看 《Python基础教程(第2版)》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

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

UNIX 时间戳转换