PHP removing backslash from code submitted through $_POST
<p>I have a code editor block and and submitting code like the following:</p>

<pre><code>$something = "&lt;a href=\"somepage.html\"&gt;Link&lt;/a&gt;";
</code></pre>

<p>However, when I submit it the string that gets output is missing the backslash escape characters and I get:</p>

<pre><code>$something = "&lt;a href="somepage.html"&gt;Link&lt;/a&gt;";
</code></pre>

<p>...which obviously isn't correct. I've figured out that it has to do with magic_quotes_gpc and when turned "On" works properly. My goal is for the application to be able to be installed easily on multiple hosts and I'd like to avoid having to turn on magic_quotes_gpc on every instance.</p>
