我用页面传递一个字符串参数比如 a.php?c=rr\cc'
在收接页面 echo $_get['c'] 得到是的 rr\\cc\'
使用表单提交为字符串的值也是一样的效果。
请问在接收到怎么直接得到想要传递的原值?
回复讨论(解决方案)
自已找到办法了
用函数stripslashes($str);
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn