• i have created my self coded mailing system and associated with worpress using like we create template page, the problem this that when i post html email to another page it it escape html tags like

    <div id=\"wrapper\">&nbsp;</div>
    <div id=\"menu\" style=\"background: #858503; height: 50px; width: 600px; margin: 0px auto; padding: 0px auto;\">

    how to avoid this because i disappear my style, is there any setting or function unescape POST input or i should replace escape slashes with null value

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    It appears only the double quotes are escaped. Is that the case, or did the forum’s parser strip out other escapes?

    If it’s just the quotes, it appears your content got run through addslashes() twice before adding it to the DB, but only run through stripslashes() once on retrieval. Ideally, you should locate the extra call to addslashes() and remove it.

    As a stop gap measure if you cannot locate the extra call, you could simply run your content through stripslashes() again to regain normal content.

Viewing 1 replies (of 1 total)
  • The topic ‘Html Code via Post Method, Escape Problem’ is closed to new replies.