downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

xmlrpc_decode> <Funciones de XML-RPC
[edit] Last updated: Fri, 17 May 2013

view this page in

xmlrpc_decode_request

(PHP 4 >= 4.1.0, PHP 5)

xmlrpc_decode_requestDecodifica el XML en los tipos de PHP nativos

Descripción

mixed xmlrpc_decode_request ( string $xml , string &$method [, string $encoding ] )
Advertencia

Esta función ha sido declarada EXPERIMENTAL. Su comportamiento, su nombre y la documentación que le acompaña puede cambiar sin previo aviso en futuras versiones de PHP. Use esta función bajo su propio riesgo.

Advertencia

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.



add a note add a note User Contributed Notes xmlrpc_decode_request - [1 notes]
up
0
e dot sand at elisand dot com
3 years ago
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.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites