Hello Ive got the following code :
___________________________________________________________________ $server = new xmlrpc_client($servAdrss); $cookie_dm = $HTTP_COOKIE_VARS["root"];//$userid"]; $server->setDebug(1); $cookie = new xmlrpcval($cookie_dm, "int"); $question_id_t = new xmlrpcval($q_id, "int"); $vote_user = new xmlrpcval("array"); $count = count($vote_array); for($i=0; $i<$count; $i++) { $vote_user = $vote_user->addScalar($vote_array[$i], "int"); } $message = new xmlrpcmsg('vote', array($cookie, $question_id_t, $vote_user)); $result = $server->send($message); ___________________________________________________________________ where $vote_array is the ordered choice of responses. But the debug answers that vote function takes 4 arguments ?? where the demexp doc says : vote(cookie_t, question_id_t, vote_choice_t) ?? Any explanation ? Yours, Diogene _______________________________________________ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev