$_POST escaping ', " in PHP
<p>I have a recurring problem with making forms handled by PHP: the characters <code>'</code> and <code>"</code> are always getting escaped with <code>\</code>.<br />
This seems to happen even before the data gets to the PHP, in the <code>$_POST</code> array.<br />
So when I insert <code>' " \</code> in the form, and print it staight away with the PHP, I get <code>\' \" \\</code>.<br />
What is causing this, and what solution is there?</p>
