Escaped characters in string from submitted form

前端 未结 2 1733
Happy的楠姐
Happy的楠姐 2021-01-26 09:26

Every time a POST is made I get escaped characters.

\\ -> \\\\
\' -> \\\'
\" -> \\\"

I have a multistep form, which transmits the data

相关标签:
2条回答
  • 2021-01-26 09:43

    Looks like you have Magic Quotes turned on.

    http://www.php.net/manual/en/security.magicquotes.disabling.php

    Check that out for how to disable.

    0 讨论(0)
  • 2021-01-26 09:45

    You must turn off the magicquotes in server , otherwise you should very careful about on/off status of the magicquotes .

    0 讨论(0)
提交回复
热议问题