Hi David

Until now I just worked on the 100 first questions so : no problem..
Or near to.. :)

But now I d like to retrieve the following questions with :

// Connexion : Object to represent the server
                $server = new
xmlrpc_client("http://www.linux-france.org/cgi-bin/demexp-xmlrpc-demo";);

                //cookie
                $cookie_dm = $HTTP_COOKIE_VARS["demexp_login"];
                //echo $HTTP_COOKIE_VARS["demexp_login"];

                // mode debug
                $server->setDebug(1);
                
                // Questions download : Send a message to the server.
                $message = new xmlrpcmsg('question_info', array(new
xmlrpcval($cookie_dm, "int"), new xmlrpcval(100, "int"), new
xmlrpcval(200, "int")));

                // Response handling
                $listQuest = $server->send($message);
                $contenu = $listQuest->value()->serialize();


And I get a :

<?xml version='1.0'?>
<methodResponse>
<fault>
<value><struct>
<member>
<name>faultCode</name>
<value><int>404</int></value>
</member>
<member>
<name>faultString</name>
<value><string>rt_request_too_much_ids</string></value>
</member>
</struct></value>
</fault>
</methodResponse>

I tried even a [100, 101] intervalle but I get the same answer ??

@@@ Im not sure but Lyu, didnt you have the same issue, no ?


Yours,

Digene



_______________________________________________
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev

Répondre à