zopetest.php.svn-base
来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SVN-BASE 代码 · 共 32 行
SVN-BASE
32 行
<html><head><title>xmlrpc</title></head><body><h1>Zope test demo</h1><h3>The code demonstrates usage of basic authentication to connect to the server</h3><?php include("xmlrpc.inc"); $f = new xmlrpcmsg('document_src', array()); $c = new xmlrpc_client("/index_html", "pingu.heddley.com", 9080); $c->setCredentials("username", "password"); $c->setDebug(2); $r = $c->send($f); if(!$r->faultCode()) { $v = $r->value(); print "I received:" . htmlspecialchars($v->scalarval()) . "<br/>"; print "<hr/>I got this value back<br/>pre>" . htmlentities($r->serialize()). "</pre>\n"; } else { print "An error occurred: "; print "Code: " . htmlspecialchars($r->faultCode()) . " Reason: '" . ($r->faultString()) . "'<br/>"; }?><hr/><em>$Id: zopetest.php,v 1.5 2006/12/28 16:10:42 milosch Exp $</em></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?