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/

_______________________________________________
phpxmlrpc mailing list
[EMAIL PROTECTED]
http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc

Reply via email to