I just ran an upgrade from PHP 5.2.3 to 5.2.5 and te web service that we are running stopped responding. I think I have nailed this down to one single issue. When we post data to the web service from Flash the serialized arrays are being stripped of double quotes (") and these are replaced with nothing. Obviously this kinda kills things on the server side as none of that data can be successfully unserialized.
Is this something which anyone else here has experienced before? I'm wondering if it's a PHP bug which is causing the post data to be stripped. I've found a temporary workaround by adding the following before the call to the NuSOAP service:
$HTTP_RAW_POST_DATA = ereg_replace(""",'"',$HTTP_RAW_POST_DATA);
$HTTP_RAW_POST_DATA = ereg_replace("'","'",$HTTP_RAW_POST_DATA); |
I have verified that it's an issue with PHP on the server as I have an identical machine in the same data centre which was not upgraded on which the web service runs fine. Downgrading to 5.2.3 did not resolve the problem... :/