Chapter 2. Files in the distribution

xmlrpc.inc

the XML-RPC classes. include() this in your PHP files to use the classes.

xmlrpcs.inc

the XML-RPC server class. include() this in addition to xmlrpc.inc to get server functionality

bettydemo.php

demo which retrieves a US state name from a number using Dave Winer's XML-RPC server at betty.userland.com

server.php

a sample server hosting various demo functions, as well as a full suite of functions used for interoperability testing. It is used by testsuite.php (see below)

client.php, agesort.php, which.php

client code to exercise some of the functions in server.php, including the interopEchoTests.whichToolkit method.

vardemo.php

examples of how to construct xmlrpcval types

demo1.txt, demo2.txt, demo3.txt

XML-RPC responses captured in a file for testing purposes (you can use these to test the xmlrpcmsg->parseResponse() method).

test.pl, test.py

Perl and Python programs to exercise server.php to test that some of the methods work.

workspace.testPhpServer.fttb

Frontier scripts to exercise the demo server. Thanks to Dave Winer for permission to include these. See Dave's announcement of these.

phpunit.php

Fred Yankowski's unit test framework for PHP.

testsuite.php

Start of a unit test suite for this software package. If you do development on this software, please consider submitting tests for this suite.

bug_http.xml, bug_string.xml, bug_whitespace.xml

Files used by the test suite to exercise xml-rpc response parsing

discuss.php, comment.php

Software used in the PHP chapter of The Jellyfish Book to provide a comment server and allow the attachment of comments to stories from Meerkat's data store.

rsakey.pem

A test certificate for the SSL support. It has the passphrase "test."