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

裂变式创业

裂变式创业

宗毅、小泽 / 机械工业出版社 / 2016-1-1 / 39.84

互联网大潮汹涌来袭,传统企业增长乏力,互联网公司跨界冲击,转型之路迫在眉睫。“转型找死,不转型等死”这一坊间传说让多数企业徘徊不前,不少实体经济面临困境,敢问路在何方? 宗毅独创裂变式创业,用人民币投票选总经理,规定自己不投钱不能参与竞选;不相信干股,不使用职业经理人,用金融的方式管理现金流。用商业模式颠覆传统公益,打通南北充电之路;摇身一变成为自媒体,用产品建立社群。自己写故事,自己当导演......一起来看看 《裂变式创业》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具