newbie question

Matt Rowe <[email protected]>
Newsgroups gmane.comp.php.xml-rpc
Message-ID <[email protected]>
Dear list,

I'm new to this rpc thing, and I'm very interested in it.

However, I'm having problems sending arrays to server scripts.  I'm testing 
the "examples.sortByAge" server, and I can't figure out the format of the 
array argument.  The following doesn't work, and I've tried some 
variations.  Can anyone lend a quick hand?

$age_array['Dave']		= 35;
$age_array['Edd']		= 45;
$age_array['Fred']		= 23;
$age_array['Barney']		= 37;
$f=new xmlrpcmsg('examples.sortByAge', array(new xmlrpcval($age_array, 
"array")));
$c=new xmlrpc_client("/xmlrpc/server.php", "192.168.0.29", 80);

The server file is the one that came with the xmlrpc1_02 distro.

Thanks in advance,
Matt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.