Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Michael on Jan 19, 2009 12:04
open dhtmlx forum
dhtmlxAjax - $_POST[] encode - decode

when I submit a form using dhtmlxAjax component and view it on the server, the string is encoded.

for example if I submit the following from a form:

"This is a test"

I see this on the server:

\\\"This is a test\\\"

How do I get rid of the \\\ escape characters in php?
Answer posted by Support on Jan 20, 2009 07:48
The dhtmlxAjax doesn't encode used URL or data on its own. 
Most probably issue caused by using "magic quotes" feature of PHP
http://www.php.net/magic_quotes