Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPit.net:
An introduction to XML-RPC in PHP
Jan 30, 2006 @ 13:59:55

PHPit.net has posted this new tutorial, an introduction to XML-RPC in PHP.

n this tutorial I will show you how to create your own XML-RPC web service, allowing other people to connect to your website. I will also show you how to create your own XML-RPC client, which means you can query other web services.

Although PHP comes with inbuilt XML-RPC functionality, we won't be using it in this tutorial, and instead we'll opt for the excellent XML-RPC Library by Simon Willison, available at http://scripts.incutio.com/xmlrpc/. This library includes both the ability to create a XML-RPC server and client, which is exactly what we need.

They start with the server, making a few simple functions to respond to a single request. They even include a bit more advanced code to allow the server to be "self-desciribing". Next comes to client - a simple, single call first, then on to making multiple calls. Included also are demos showing how they will look when working...

tagged: introduction to xml-rpc server client self-describing introduction to xml-rpc server client self-describing

Link:


Trending Topics: