This function works exactly the same as xmlrpc_decode() except it gives you access to the method being called as well (xmlrpc_decode() only outputs the params from the XML-RPC call).
To use this function, simply create an empty variable to store the method string in, and then pass by reference like so:
<?php
$method = null;
$params = xmlrpc_decode_request('<xml rpc request>', &$method);
?>
What you will get back are the params stored in $params, and $method will have the method being requested.
xmlrpc_decode_request
(PHP 4 >= 4.1.0, PHP 5)
xmlrpc_decode_request — Decodifică XML în tipuri PHP indigene
Descrierea
Avertizare
Această funcție este EXPERIMENTALĂ. Comportamentul acestei funcții, denumirea sa și orice alte aspecte documentate în privința acestei funcții pot să fie modificate fără preaviz într-o versiune viitoare a PHP. Utilizați această funcție la propriul risc.
Avertizare
Această funcție nu este documentată în prezent; este disponibilă numai lista sa de argumente.
e dot sand at elisand dot com ¶
3 years ago
