You can see the source to this page here: which.php
send($req); if (!$resp->faultCode()) { $encoder = new PhpXmlRpc\Encoder(); $value = $encoder->decode($resp->value()); print "Toolkit info:";
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";
}
?>