I am posting data to a php file via jQuery’s $.post method, but for some reason the string comes out escaped on the other side, like so,
Sent:
company_name="company"
Received:
company_name=\"company\"
Any idea what could be the cause?
Thanx in advance!
sounds like you have magic_quotes enabled on your server – and, as you see, you should realy disable that to avoid confusing stuff like that (see: why not to use magic quotes). (also, this “feature” will be deleted in the future, so you shouldnt rely on that)