I’m now trying to create a xml-rpc server with the 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 is trying to ping my file. I can’t figure out what I should have as function in the $config[‘functions’][HERE];
Anyone have a solution to this?
Have you looked at the codeigniter user guide?