Script working on 1.0.1 but not on 1.0.99

Alex Pagnoni <[email protected]>
Newsgroups gmane.comp.php.xml-rpc
Organization The Ampoliros Team
Message-ID <[email protected]>
Hi all,

the 1.0.99 xmlrpc release doesn't work for me, while the previous ones worked 
ok. Here follow a simple script, if you run it with the 1.0.1 release the 
reply passes the xmlrpc_resp::FaultCode() check, while in 1.0.99 one it 
doesn't.

Ideas?

Here's the test script:

<?php
include( 'xmlrpc.inc' );

$xmlrpc_client = new XmlRpc_Client( '/xmlrpc.php', 'www.syndic8.com', '80' );

echo "Start\n";
$xmlrpc_message = new XmlRpcMsg( 'syndic8.FindFeeds', array( new XmlRpcVal( 
'amiga', 'string' ) ) );
$xmlrpc_resp = $xmlrpc_client->Send( $xmlrpc_message );

echo "Sent\n";
if ( $xmlrpc_resp )
{
    echo "Received reply\n";
    if ( !$xmlrpc_resp->FaultCode() )
    {
        echo "Reply is ok\n";
        $result = xmlrpc_decode( $xmlrpc_resp->Value() );
        print_r( $result );
    }
}
?>

-- 
Alex Pagnoni
Ampoliros Team - Project Leader - http://ampoliros.com/
SourceForge PHP Foundry guide - http://sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.