title: "slash before every quote" problem
body: <p>I have a php page which contains a form.</p>
  
  <p>Sometimes this page is submitted to itself (like when pics are uploaded).</p>
  
  <p>I wouldn't want users to have to fill in every field again and again, so I use this as a value of a text-input inside the form:</p>
  
  <pre><code>value="&lt;?php echo htmlentities(@$_POST['annonsera_headline'],ENT_COMPAT,'UTF-8');?&gt;"&gt;
  </code></pre>
  
  <p>This works, except it adds a "\" sign before every double-quote...</p>
  
  <p>For instance writing 19" wheels gives after page is submitted to itself:</p>
  
  <pre><code>  19\" wheels
  </code></pre>
  
  <p>And if I don't even use htmlentities then everything after the quotes dissappears.</p>
  
  <p>What is the problem here?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Okay, so the prob is magic_quotes... This is enabled on my server...</p>
  
  <p>Should I disable it? I have root access and it is my server :)</p>
  
  <p>Whats the harm in disabling it?</p>