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

C语言编程:一本全面的C语言入门教程(第三版)

C语言编程:一本全面的C语言入门教程(第三版)

(美)Stephen Kochan / 张小潘 / 电子社博文视点资讯有限公司 / 2006年 / 59.00元

本书是极负盛名的C语言入门经典教材,其第一版发行至今已有20年的历史。本书内容详实全面,由浅入深,示例丰富,并在每个章节后面附有部分习题,非常适合读者自学使用。除此之外,《C语言编程》一书对于C语言标准的最新进展、C语言常见开发工具以及管理C语言大型项目等重要方面,也进行了深入浅出的说明。一起来看看 《C语言编程:一本全面的C语言入门教程(第三版)》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

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

html转js在线工具