F
flamesrock
Hi,
I'm running xmlrpclib on python 2.4.2.
The problem:
When I pass arguments via xmlrpclib, it passes the args as a list to
the first variable.
Take this example (function should return second of two arguments, but
always returns '')
Here is the php server code:
function createDB($firstparam,$secondparam)
{
return $secondparam;
}
If I change the function to return $firstparam, the first argument, it
returns:
['firstparam', 'secondparam']
So.. why the heck is it doing this???? Clearly it's pythons fault, but
1)why?
2)how do I fix it?
-Thanks in Advance.
I'm running xmlrpclib on python 2.4.2.
The problem:
When I pass arguments via xmlrpclib, it passes the args as a list to
the first variable.
Take this example (function should return second of two arguments, but
always returns '')
Here is the php server code:
function createDB($firstparam,$secondparam)
{
return $secondparam;
}
If I change the function to return $firstparam, the first argument, it
returns:
['firstparam', 'secondparam']
So.. why the heck is it doing this???? Clearly it's pythons fault, but
1)why?
2)how do I fix it?
-Thanks in Advance.