Thread: XML-RPC problem with array

XML-RPC problem with array

From
Bambero
Date:
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


Re: XML-RPC problem with array

From
Bambero
Date:
Sorry,  ntg


Bambero napisał(a):

> 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
>