* improved: allow usage of 'epivals' for the 'parameters_type' member of methods definitions in the Server dispatch map
-* improved: debugger page title when used from the phpjsonrpc library
+* improved: debugger favicon and page title when used from the phpjsonrpc library
XML-RPC for PHP version 4.5.1 - 2021/1/3
/// @todo find a way to forward client info (such as IP) to server, either
/// - as xml comments in the payload, or
/// - using std http header conventions, such as X-forwarded-for...
- $reqMethod = $encoder->decode($req->getParam(1));
+ $reqMethod = $req->getParam(1)->scalarval();
$pars = $req->getParam(2);
$req = new PhpXmlRpc\Request($reqMethod);
foreach ($pars as $par) {
PhpXmlRpc::$xmlrpc_null_extension = true;
$s = new Server($signatures, false);
-$s->setdebug(3);
+$s->setDebug(3);
$s->compress_response = true;
// Out-of-band information: let the client manipulate the server operations.
* xmlrpc.inc: fixed php_xmlrpc_encode detection of php arrays (again!);
removed from wrap_php_function the part about setting a custom error handler
- (it can be activated using the more general $server->setdebug(3) anyway)
+ (it can be activated using the more general $server->setDebug(3) anyway)
* xmlrpcs.inc: added to server the capability to trap all processing errors
during execution of user functions and add them to debug info inside responses;
To find out what the server is really returning to your client,
you have to enable the debug mode of the client, using
- $client->setdebug(1);
+ $client->setDebug(1);
==== How can I save to a file the xml of the xmlrpc responses received from servers?
* It defaults to NULL, which means using US-ASCII and encoding all characters outside of the ASCII range using
* their xml character entity representation (this has the benefit that line end characters will not be mangled in
* the transfer, a CR-LF will be preserved as well as a singe LF).
- * Valid values are 'US-ASCII', 'UTF-8' and 'ISO-8859-1'
+ * Valid values are 'US-ASCII', 'UTF-8' and 'ISO-8859-1'
*/
public $request_charset_encoding = '';