PHP code example of netzkolchose / php-simplexmlrpc
1. Go to this page and download the library: Download netzkolchose/php-simplexmlrpc library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
netzkolchose / php-simplexmlrpc example snippets
$server = new \SimpleXmlRpc\ServerProxy("https://example.com:443/xmlprc");
$server->system->listMethods();
$server->some_method($arg1, $arg2);
$server->some->very->deep->method();
$server = new \SimpleXmlRpc\ServerProxy("https://example.com:443/xmlprc");
$multicall = new \SimpleXmlRpc\Multicall($server);
$multicall->system->listMethods();
$multicall->some_func();
$multicall->some_other_func($arg1, $arg2);
$result = $multicall();