[phpxmlrpc] new to phpxmlrpc

2003-12-17 Thread Sam
t;struct"); $par=xmlrpc_encode($par1); $f=new xmlrpcmsg("method",$par); $r=$client->send($f); Thank you in advance Sam ___ phpxmlrpc mailing list [EMAIL PROTECTED] http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc

Re: [phpxmlrpc] new to phpxmlrpc

2003-12-17 Thread Sam
, am I doing wrong? Can you tell me somthing more about the error I get? Thank you Ciao Sam At 09.51 17/12/03 +0100, you wrote: Hi Sam, looks here for a simple client example: http://xmlrpc-c.sourceforge.net/xmlrpc-howto/xmlrpc-howto-php-client.html And here, for its server example: http://xmlrpc

Re: [phpxmlrpc] new to phpxmlrpc

2003-12-17 Thread Sam
Hi! I tried the way you said (include_once), but I get the same error on the same line Thanks Sam At 13.47 17/12/03, you wrote: Sam, It sounds like the include file is trying to be loaded twice. Hence, trying to redeclare the already declared function. Try using include_once when you

Re: [phpxmlrpc] new to phpxmlrpc

2003-12-17 Thread Sam
After the changes, I keep on getting this (and I am beginning to get insane!): Fatal error: Cannot redeclare xmlrpc_decode() in /.../xmlrpc.inc on line 1380 Sam At 14.52 17/12/03, you wrote: Hi Sam, You should not need to do the xmlrpc_encode, and you need to pass in an array of parameters

Re: [phpxmlrpc] new to phpxmlrpc

2003-12-18 Thread Sam
ing); $par1=new xmlrpc_val(array("first_value_name" => $p1, "second_value_name" => $p2), $xmlrpcStruct); $f=new xmlrpcmsg("method",array($par1)); $r=$client->send($f); ?> Don't give up; XML-RPC is easy and fun once you get

Re: [phpxmlrpc] new to phpxmlrpc

2004-01-19 Thread Sam
uot;, 80); $client->setDebug(1); $first_value_name="first_value"; $second_value_name="second_value"; $multi2=new xmlrpcval(array( "first_value_name" => new xmlrpcval("first_value"), "second_value_name" => new xmlrpcval("second_value")),