How can i use filter value in a xmlrpc function?

13 Views Asked by At

I cannot be able to understand this function

cancel_var(lcode, rcode[, reason='', send_voucher=0])

which should be served by xmlrpg in this way

$server = new xmlrpc_client('https://wired.site.net/xrws/');
$args= array(new xmlrpcval($lcode, 'int'), new xmlrpcval($rcode));
$message = new xmlrpcmsg("cancel_var", $args);

How can i send this value in php?

rcode[, reason='', send_voucher=0]

How can i write variable "$rcode" in xmlrpc?

$args= array(new xmlrpcval($lcode, 'int'), new xmlrpcval(**$rcode**));

Thanks for your suggestions.

0

There are 0 best solutions below