#native_company# #native_desc#
#native_cta#

WDDX Functions in PHP Page 5

By Jess M. Castagnetto
on July 30, 2000

A WDDX Example

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.
Simple Schema Apache/Xitami
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.

1
|
2
|
3
|
4
|
5
|
6
|
7
|
8