[phpxmlrpc] Re: XMLRPC - HTTP_RAW_POST_DATA is duplicated...

2003-06-16 Thread Gaetano Giunta
This is due to the way PHP handles objects: very very bad. Until version 5 is out, you should always & assign objects you create: $c =& new xmlrpc_client("/XMLRPC/server.php", "slate", 80); Otherwise the object gets created by 'new' and then duplicated (i.e. created again) by '=' _

[phpxmlrpc] Character encoding: many questions

2003-06-16 Thread Gaetano Giunta
t/received to the specified char encoding or leave this task to the app layer? - Finally, (this was probably answered by Edd many moons ago, but I cannot find it anymore) why is htmlentities() used to escape the string data in xml messages instead of a plain translation of '<' and

[phpxmlrpc] Re: Array of structs

2003-06-16 Thread Gaetano Giunta
Can you be more specific with the kind of error you are having? One wild stab: I've noticed your second city has an accented name. Try out using iso-8859-1 as default charset encoding (it is defined in xmlrpc.inc) and see if it helps Gaetano ___ php

R: [phpxmlrpc] DB result and array

2003-07-22 Thread Gaetano Giunta
Uhm, the code looks somewhat broken, as far as I can tell. Comments below (in italiano) > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di TeddyZ > Inviato: lunedi 21 luglio 2003 22:27 > A: [EMAIL PROTECTED] > Oggetto: [phpxmlrpc] DB result and array > >

R: [phpxmlrpc] Problem with xmlrpcval result of client response

2003-11-18 Thread Gaetano Giunta
Let's see if I get it straight... > > Hi there, > > Unfortunately I have a problem with the client lib "xmlrpc.inc": > > In the Documentation http://xmlrpc.usefulinc.com/doc/xmlrpcval.html > I read: > The elements of the array must be xmlrpcval objects themselves. > > Now, I do a request via $

R: [phpxmlrpc] RPC

2003-11-18 Thread Gaetano Giunta
Sorry, error description is far too vague to be helpful.   Did you get right the: - server name - url - port   in your send statement?   Quick debugging: try to access the same URL using a browser and see what happens   Bye Gaetano -Messaggio originale-Da: [EMAIL PROTECTED] [mail

R: [phpxmlrpc] payload problem with xml-rpc

2003-11-19 Thread Gaetano Giunta
... > > And this is my function, in my server file: > > > function showMovies() { > > $conn = mysql_connect("localhost","user","pwd"); > $db = mysql_select_db("amptestsite",$conn); > $result = mysql_query("SELECT * FROM movies ORDER BY

R: [phpxmlrpc] getting results from server ok but!

2003-12-19 Thread Gaetano Giunta
A very handy function you can ofetn make use of is $arr=xmlrpc_decode($xmlrpc_val); Returns a PHP variable or array stuffed with the values found in the xmlrpcval $xmlrpc_val, translated into native PHP types. > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] c

R: [phpxmlrpc] Re: XML-RPC for PHP Error

2004-02-04 Thread Gaetano Giunta
It might not be the final solution, but if you take a look at the latest patch I posted on sourceforge, there is a possible 'transition' out of this problem: - if the PHP XML libraries built in are available, it will register 'our' functions with new names (e.g. xmlrpc_encode_new : to be agreed

R: [phpxmlrpc] Regarding XML RPC.Net and PHPGroupware

2004-06-07 Thread Gaetano Giunta
You're asking in the wrong place: this list is dedicated to the xmlrpc library for PHP called phpxmlrpc -Messaggio originale-Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Per conto di ShajeeInviato: lunedì 7 giugno 2004 23:53A: [EMAIL PROTECTED]Oggetto: [phpxmlrpc] Regardi

R: [phpxmlrpc] weird problem

2004-08-23 Thread Gaetano Giunta
It might have to do with character encoding, but this is just a wild guess. By default xml-rpc lib expects content to be UTF8 encoded, so iso-8859 chars outside of the ascii range might cause trouble. To find out more you should take a look at the xml chunk received by the server before it is d