PHP stripslashes problem

一世执手 提交于 2019-12-13 05:10:24

问题


I have a development machine that is local and a server out on the net. Weird thing is that when I use stripslashes on my development machine, all slashes are removed and when I upload the same code to the net server, I see the escape character even though I am using stripslashes. Anyone have any ideas?


回答1:


This could be Magic Quotes. Try to disable them or remove them before processing the data.




回答2:


Perhaps what the note says on the manual page might be the problem.



来源:https://stackoverflow.com/questions/1286968/php-stripslashes-problem

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!