<?
include_once("./xmlrpc-utils.php");
include_once("./class.remotetest.php");
define('XCS_HOST', $HTTP_SERVER_VARS['SERVER_NAME']);
define('XCS_URI', dirname($HTTP_SERVER_VARS['REQUEST_URI']) . '/xcs.php');
?>
<b>Description</b><br>
This is script is supposed to call a method
on the remote object, through a proxy object.
The result should be "<b>Hello Ivan!</b>". The
remote URL we are calling is <b><?
echo XCS_HOST;
echo XCS_URI;
?></b>
<br><br>
<b>Result</b>:
<?
$test = new Test(42);
echo $test->sayHello('Ivan');
?> |