Welcome Guest, Not a member yet? Register   Sign In
Possible Xmlrpc library bug?
#1

(This post was last modified: 07-11-2015, 01:35 PM by geekita.)

I think that the method name is missing here

PHP Code:
// --> this is the original line // $op = 'POST '.$this->path.' HTTP/1.0'.$r
$op 'POST '.$this->path.'/'.$msg->method_name.' HTTP/1.0'.$r
            
.'Host: '.$this->server.$r
            
.'Content-Type: text/xml'.$r
            
.(isset($this->username$this->password) ? 'Authorization: Basic '.base64_encode($this->username.':'.$this->password).$r '')
            .
'User-Agent: '.$this->xmlrpcName.$r
            
.'Content-Length: '.strlen($msg->payload).$r.$r
            
.$msg->payload

from

PHP Code:
/**
     * Send payload
     *
     * @param    object    $msg
     * @return    object
     */
    
public function sendPayload($msg)
    { 

of Xmlrpc.php library
Reply


Messages In This Thread
Possible Xmlrpc library bug? - by geekita - 07-11-2015, 01:34 PM
RE: Possible Xmlrpc library bug? - by ciadmin - 07-11-2015, 03:24 PM
RE: Possible Xmlrpc library bug? - by geekita - 07-11-2015, 11:04 PM
RE: Possible Xmlrpc library bug? - by ciadmin - 07-11-2015, 11:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB