Hi All,
Attached is a small patch tp pear/XML/RPC.php.
It fixes 2 things:
1. There was a print statement left in the client class
2. xml_rpc_encode had "new XML_RPC_VAL" instead of "new XML_RPC_VALUE".
Cheerio,
Matta
--
Matt Allen
Technical Director
Investigation Marketplace
0413 777 771
[EMAIL PROTECTED]
Index: RPC.php
===================================================================
RCS file: /repository/php4/pear/XML/RPC.php,v
retrieving revision 1.10
diff -u -r1.10 RPC.php
--- RPC.php 13 Jul 2001 17:45:43 -0000 1.10
+++ RPC.php 22 Jul 2001 01:52:47 -0000
@@ -509,7 +509,7 @@
strlen($msg->payload) . "\r\n\r\n" .
$msg->payload;
- print($op);
+ //print($op);
if (!fputs($fp, $op, strlen($op))) {
$this->errstr="Write error";
@@ -1092,7 +1092,7 @@
global $XML_RPC_Struct;
$type = gettype($php_val);
- $XML_RPC_val = new XML_RPC_val;
+ $XML_RPC_val = new XML_RPC_value;
switch($type) {
case "array":
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]