-
Notifications
You must be signed in to change notification settings - Fork 130
Plugin: XMLRPC
tenzap edited this page Mar 9, 2022
·
2 revisions
Note: This is a plugin, you need to install it before use.
Sample XMLRPC client call using CodeIgniter XML-RPC Classes:
$this->load->library('xmlrpc');
$server_url = site_url('http://kalkun-url/index.php/plugin/xmlrpc/send_sms');
$this->xmlrpc->server($server_url, 80);
$this->xmlrpc->method('send_sms');
$this->xmlrpc->set_debug(TRUE);
$request = array('+1234', 'Testing XMLRPC');
$this->xmlrpc->request($request);
if (!$this->xmlrpc->send_request())
{
echo $this->xmlrpc->display_error();
}
else
{
print_r($this->xmlrpc->display_response());
}
This is a plugin:
- To enable, install the plugin in Kalkun
- To disable, uninstall the plugin in Kalkun