note 91674 added to function.xmlrpc-decode-request
| From: | e dot sand at elisand dot com | Date: | Mon, 22 Jun 2009 15:20:53 +0000 |
| Subject: | note 91674 added to function.xmlrpc-decode-request | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-157241@lists.php.net to get a copy of this message | ||
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:
$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.
----
Server IP: 69.147.83.197
Probable Submitter: 99.241.6.105
----
Manual Page -- http://www.php.net/manual/en/function.xmlrpc-decode-request.php
Edit -- https://master.php.net/note/edit/91674
Del: integrated -- https://master.php.net/note/delete/91674/integrated
Del: useless -- https://master.php.net/note/delete/91674/useless
Del: bad code -- https://master.php.net/note/delete/91674/bad+code
Del: spam -- https://master.php.net/note/delete/91674/spam
Del: non-english -- https://master.php.net/note/delete/91674/non-english
Del: in docs -- https://master.php.net/note/delete/91674/in+docs
Del: other reasons-- https://master.php.net/note/delete/91674
Reject -- https://master.php.net/note/reject/91674
Search -- https://master.php.net/manage/user-notes.php