We will demonstrate how we can pass complex data structures between two PHP
scripts that are residing in different servers. A simple schema on how
these scripts work can be seen in the figure below.
The "consumer" script running in his own server (a machine running Xitami, with
PHP as a regular CGI interpreter), can connect via the server or directly
(e.g. if called by using: % php -q wddx_consumer.php3), to another
server (Apache with modPHP) in which the "generator" script resides. The
"consumer" makes a request, and the "generator" sends back a WDDX pack which
is then parsed and used.