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 state name from a number using Dave Winer's XML-RPC server at betty.userland.com

server.php

a sample server hosting three functions: a US State lookup tool, a struct sorter and an echo function.

client.php, agesort.php, echotest.php

client code to exercise the various functions in server.php

base64test.php, stringtest.php

Tests to verify that encoding and decoding of base 64 and entities is functioning correctly.

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).

httptest.php

Testing that HTTP response detection works OK.

test.pl, test.py

Perl and Python programs to exercise server.php to test that some of the methods work. Make sure you point these at your server, not mine!

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.

which.php

A demo of the interopEchoTests.whichToolkit method.

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."