With XML-RPC extension in PHP , you can use this library to buile a data interaction between client side and server side , it use XML to get or response data .
rpc_client.php
rpc_server.php
The example above are just use xmlrpc extension ,
and for the advance , there has a library XML-RPC for PHP in
http://phpxmlrpc.sourceforge.net/