X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=php%2Fplc_api.php;h=ea90a8c8a0e1766f062f78db2ff4efa5b98e7852;hb=refs%2Fheads%2Fremove-xmlrpc;hp=4bd77a1cf14332c366ae2ca30365c86acd1f1315;hpb=8946839880825b7409ba72a775551641ef564088;p=plcapi.git diff --git a/php/plc_api.php b/php/plc_api.php index 4bd77a1..ea90a8c 100644 --- a/php/plc_api.php +++ b/php/plc_api.php @@ -142,7 +142,9 @@ class PLCAPI // Marshal the XML-RPC request as a POST variable. is an // extension to the XML-RPC spec that is supported in our custom // version of xmlrpc.so via the 'allow_null' output_encoding key. - $request = xmlrpc_encode_request($method, $args, array('allow_null' => TRUE)); + $request = xmlrpc_encode_request($method, $args, array('null_extension')); + error_log("ENCODED: " . $method . "(" . $args . ")"); + error_log("OBTAINED: " . $request); curl_setopt($curl, CURLOPT_POSTFIELDS, $request); // Construct the HTTP header