PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Ivan Ristic  >  XML-RPC Class Server  >  test.php  >  Download  
File: test.php
Role: ???
Content type: text/plain
Description: XML-RPC client example
Class: XML-RPC Class Server
Turns any PHP class into an XML-RPC server
Author: By
Last change:
Date: 19 years ago
Size: 550 bytes


Class file image Download

define('XCS_URI', dirname($HTTP_SERVER_VARS['REQUEST_URI']) . '/xcs.php');


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;

$test = new Test(42);
echo $test->sayHello('Ivan');
For more information send a message to info at phpclasses dot org.