| Server IP : 217.160.0.251 / Your IP : 216.73.217.111 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : u94981163 ( 8991765) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/php7.2/data/XML_RPC2/ |
Upload File : |
PEAR XML_RPC2
=============
XML_RPC2 is a pear package providing XML_RPC client and server services.
XML-RPC is a simple remote procedure call protocol built using HTTP as
transport and XML as encoding. As a client library, XML_RPC2 is capable of
creating a proxy class which exposes the methods exported by the server. As a
server library, XML_RPC2 is capable of exposing methods from a class or object
instance, seamlessly exporting local methods as remotely callable procedures.
Basic Usage
-----------
```php
<?php
$options = array(
'prefix' => 'package.'
);
$client = XML_RPC2_Client::create(
'http://pear.php.net/xmlrpc.php',
$options
);
try {
$result = $client->info('XML_RPC2');
print_r($result);
} catch (XML_RPC2_FaultException $e) {
// The XMLRPC server returns a XMLRPC error
die('Exception #' . $e->getFaultCode() . ' : ' . $e->getFaultString());
} catch (Exception $e) {
// Other errors (HTTP or networking problems...)
die('Exception : ' . $e->getMessage());
}
?>
```