XML-RPC problem with array

Started by Bamberoabout 21 years ago2 messagesgeneral
Jump to latest
#1Bambero
bambero@tlen.pl

Hello

I have compiled my php with --with-xmlrpc option to use xmlrpc server.
Everything works fine, but there is one problem.

Array (indexed from 0):
$array[0]
$array[1]
$array[2]
is changed to xmlrpc 'array' type - thats ok.

Array (with string indexes):
$array['ad']
$array['sd']
$array['rd']
is changed to xmlrpc 'struct' type - thats ok too.

But array (indexed from 1):
$array[1]
$array[2]
$array[3]
is changed to xmlrpc 'array' type.

Is it possible to change this type to xmlrpc 'struct' type ?

Sorry, my english is not well.

Thanks,
Bambero

#2Bambero
bambero@tlen.pl
In reply to: Bambero (#1)
Re: XML-RPC problem with array

Sorry, ntg

Bambero napisaďż˝(a):

Show quoted text

Hello

I have compiled my php with --with-xmlrpc option to use xmlrpc server.
Everything works fine, but there is one problem.

Array (indexed from 0):
$array[0]
$array[1]
$array[2]
is changed to xmlrpc 'array' type - thats ok.

Array (with string indexes):
$array['ad']
$array['sd']
$array['rd']
is changed to xmlrpc 'struct' type - thats ok too.

But array (indexed from 1):
$array[1]
$array[2]
$array[3]
is changed to xmlrpc 'array' type.

Is it possible to change this type to xmlrpc 'struct' type ?

Sorry, my english is not well.

Thanks,
Bambero

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings