Which toolkit demo

Query server for toolkit information

The code demonstrates usage of the PhpXmlRpc\Encoder class

send($req); if (!$resp->faultCode()) { $encoder = new PhpXmlRpc\Encoder(); $value = $encoder->decode($resp->value()); print "
";
    print "name: " . htmlspecialchars($value["toolkitName"]) . "\n";
    print "version: " . htmlspecialchars($value["toolkitVersion"]) . "\n";
    print "docs: " . htmlspecialchars($value["toolkitDocsUrl"]) . "\n";
    print "os: " . htmlspecialchars($value["toolkitOperatingSystem"]) . "\n";
    print "
"; } else { print "An error occurred: "; print "Code: " . htmlspecialchars($resp->faultCode()) . " Reason: '" . htmlspecialchars($resp->faultString()) . "'\n"; } ?>