XML-RPC Server Help

Now I am trying to create an xml-rpc server using CodeIgniter Framework.

<?php
$this->load->library('xmlrpc');
$this->load->library('xmlrpcs');

$config['functions']['weblogUpdates.ping'] = array('function' => 'weblogUpdates.ping');
$config['functions']['ping'] = array('function' => 'weblogUpdates.ping');
$config['functions']['weblogUpdates'] = array('function' => 'weblogUpdates.ping');
$config['object'] = $this;

$this->xmlrpcs->serve();
?>

      

But the problem I have is when Wordpress tries to ping my file. I can't figure out what I should have as a function in $ config ['functions'] [HERE];

Anyone have a solution?

0


source to share


2 answers


Have you reviewed the codeigniter user manual ?



+1


source


Thanks, found the problem, I'm so dumb. If the beta server worked and I put Wordpress on ping and forgot to change the address when I got the new server: $



-1


source







All Articles