disabling "magic quotes" (2 posts)

  1. kellyokdsgn
    Posted 7 years ago #

    How can I disable the "magic quotes" that appear when submitting type in a field. Quotation marks and apostrophes output with an added backslash before the mark. The problem also repeats itself.

    Ex. "It's Done" = "It\'s Done" (also, "It\\'s" to "It\\\'s")

    I've read a lot of forums with this problem, but no fixes!

    Who's figured this out?

  2. esmi
    Forum Moderator
    Posted 7 years ago #

    Try using the PHP function stripslashes() when processing input text.

Topic Closed

This topic has been closed to new replies.

About this Topic