Escaped characters in string from submitted form

前端 未结 2 1732
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.

提交回复
热议问题