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?

The dhtmlxAjax doesn’t encode used URL or data on its own.
Most probably issue caused by using “magic quotes” feature of PHP