I've taken a look at the CVS code, and it looks fine (note: I've not tried to
use it, though).
I would prefer to have at least one function name that is availale for usage
regardless wheter the EPI extension is loaded or not (so the wary coder can
program against that and deploy anywhere). php_xmlrpc_encode / decode is a
recommended candidate. If code bloat is not a problem you could simply strip
the if around the definition of these functions.
> -----Messaggio originale-----
> Da: Miles Lott [mailto:[EMAIL PROTECTED]
> Inviato: luned́ 27 dicembre 2004 15:20
> A: [EMAIL PROTECTED]
> Oggetto: Re: R: [xml-rpc] Fatal error: Cannot redeclare xmlrpc_decode
> There is now a workaround in CVS. Please test this prior to
> over your current version (save a copy). It was tested on my install.
> Gaetano Giunta wrote:
> > The PHP-bundeled xmlrpc extension comes with a function
> named xmlrpc_dedode (as well as encode).
> > The phpxmlrpc lib uses the same name for its functions.
> > Either you:
> > - disable the php xmlrpc extension (modify php.ini on
> windows, recompile on unix)
> > - comment the relevanmt sections of xmlrpc.inc
> > - rename the two functions in xmlrpc.inc to something else
> > This bug is reported in the sourceforge project page,
> commented and dissected.
> > Ciao
> > gaetano
phpxmlrpc mailing list