Welcome Guest, Not a member yet? Register   Sign In
PHP stripping souble quotes on POST
#3

[eluser]Nathan Pitman (Nine Four)[/eluser]
Not in this part of the app, we ended up using an abstracted version of the Active Record Library from CI along with NuSOAP for the web services.

POST from a web page is fine but POST from Flash (in our case) ends up with the double quotes stripped. I think this is somehow related to 'HTTP_RAW_POST_DATA' since we managed a temporary fix by adding:

Code:
$HTTP_RAW_POST_DATA = ereg_replace(""",'"',$HTTP_RAW_POST_DATA);
$HTTP_RAW_POST_DATA = ereg_replace("'","'",$HTTP_RAW_POST_DATA);

...before we pass the POST data to NuSOAP. :/


Messages In This Thread
PHP stripping souble quotes on POST - by El Forum - 10-23-2008, 02:50 AM
PHP stripping souble quotes on POST - by El Forum - 10-23-2008, 03:08 AM
PHP stripping souble quotes on POST - by El Forum - 10-23-2008, 03:18 AM
PHP stripping souble quotes on POST - by El Forum - 10-23-2008, 06:04 AM
PHP stripping souble quotes on POST - by El Forum - 10-23-2008, 06:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB