Welcome Guest, Not a member yet? Register   Sign In
XML-RPC PHP 5.2.5
#1

[eluser]unosoft[/eluser]
Our hosting company recently upgraded from PHP 4.x to PHP 5.2.5 over a weekend. As soon as they did that, our XML-RPC code stopped working. On the server side, we are not able to receive the string (it is empty). After troubleshooting for many hours, I realized that our code is working as long as the request string < 340 characters. I also noticed that I can pack multiple elements into the request array, with each element < 340 characters and our code still works ok.

For example:

1.This works:
$request = array(array($str1,'string'),
array($str2,'string')); //(str1 and str2 are of 340 chars each).

2. This does NOT work:
$request = array(array($str3,'string')); // $str3 = 680 chars.

Can any body help me understand why our existing code stopped working? This probably is not a CI issue as our files remain the same and we did not change our code.

Thanks
Kumar




Theme © iAndrew 2016 - Forum software by © MyBB