method)</p>
<?php
-// Use the custom class autoloader. These two lines not needed when the phpxmlrpc library is installed using Composer
-include_once __DIR__ . "/../../src/Autoloader.php";
-PhpXmlRpc\Autoloader::register();
-
if (isset($_POST["mailto"]) && $_POST["mailto"]) {
$server = XMLRPCSERVER;
$req = new PhpXmlRpc\Request('mail.send', array(
-<html lang="en">
+<?php require_once __DIR__ . "/client/_prepend.php"; ?><html lang="en">
<head><title>xmlrpc</title></head>
<body>
<?php
-/// @todo allow autoloading when the library is installed as dependency
-include_once __DIR__ . '/../vendor/autoload.php';
-
$req = new PhpXmlRpc\Request('examples.getStateName');
print "<h3>Testing value serialization</h3>\n";
?>
</body>
-</html>
+</html><?php require_once __DIR__ . "/client/_append.php"; ?>
{
$page = $this->request('verify_compat.php');
}
+
+ public function testVarDemo()
+ {
+ $this->baseUrl = str_replace('/extras/', '/demo/', $this->baseUrl);
+ $page = $this->request('vardemo.php');
+ }
}