SimpleXMLRPC
- 授权协议: GPL
- 开发语言: PHP
- 操作系统: 跨平台
- 软件首页: http://simplexmlrpc.sourceforge.net/
软件介绍
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);
?>
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》 这本书的介绍吧!
